Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Blog - Where Do We Exclude The Main Image Rate Topic   - - - - -

 
  • chrisuk
  • Newbie
  • Members
  • Join Date: 21-Feb 18
  • 9 posts

Posted 02 March 2018 - 03:56 PM #1

Hi Everyone,

Can anyone help me out a bit please :-)

 

Our blog page: https://www.downligh...ted-downlights/

 

This appears to include the main image which we upload to the blog. But it is massive and pushes content down the page below the fold.

 

How do we exclude the image. As we will add images in separately throughout the content. 

 

Thanks in advance.

Chris



 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 556 posts

Posted 02 March 2018 - 04:22 PM #2

In Blog > your blog post open the Add-on tab and delete the image there.


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • chrisuk
  • Newbie
  • Members
  • Join Date: 21-Feb 18
  • 9 posts

Posted 02 March 2018 - 04:41 PM #3

In Blog > your blog post open the Add-on tab and delete the image there.

Hi, We want the image as a thumbnail on our /blog/ page though.

We just don't want it to be on the blog itself. 

Any idea?

Thanks



 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 556 posts

Posted 02 March 2018 - 05:39 PM #4

This will require template customization.


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 
  • chrisuk
  • Newbie
  • Members
  • Join Date: 21-Feb 18
  • 9 posts

Posted 02 March 2018 - 07:51 PM #5

This will require template customization.

 

Ok. Any idea what the code change would be, and what file i would change?

 

Thanks



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18160 posts

Posted 05 March 2018 - 05:44 AM #6

Try to add the following code to the CSS section of the Theme editor

.ty-blog__img-block img {
    max-width: 400px;
    width: 100%;
}

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • chrisuk
  • Newbie
  • Members
  • Join Date: 21-Feb 18
  • 9 posts

Posted 05 March 2018 - 03:35 PM #7

 

Try to add the following code to the CSS section of the Theme editor

.ty-blog__img-block img {
    max-width: 400px;
    width: 100%;
}

Perfect. Worked.

Thanks for your help.