hiding the featured image in blog posts

New Member
6 0 0

Hi There,

 

I'm really struggling to hide the featured images in my blog posts - I want to put one in for social media purposes but do not want it to display on the blogs list or on the blog post itself. any help would be great! 

https://uniquemobility.co.uk/blogs/blog 

https://uniquemobility.co.uk/blogs/blog/unique-mobility-picks-up-breakthrough-dealer-of-the-year-awa...

Above it what it looks like when you add a featured image. 

Kind regards, 

0 Likes
Shopify Partner
46 0 9

You would need to edit your CSS (theme.scss.liquid file) and add something like:

.template-article .content-block__full-image {
    display: none;
}

.template-blog .content-block__full-image {
   display: none;
}

 

Available For Hire For Small Jobs: https://www.dashboardq.com/shopify
0 Likes
New Member
6 0 0

Excellent! That has worked perfectly... Thank you so much. 

0 Likes
New Member
2 0 0

adding the code on our CSS (theme.scss.liquid file) didn't help - is there anything else we can do? 

0 Likes
Tourist
16 0 0

Hello

I have added the above code , but the images are removed from my blog post  ,.I need to remove from the blog list . Any idea ?thank youScreen Shot 2019-09-17 at 3.57.03 PM.png

0 Likes
New Member
1 0 0

Hi @shereen_ahmed - can you please provide a URL to the blog? This will help with writing accurate CSS code to hide it. Thanks

0 Likes
Tourist
16 0 0

Hello ! thank you for replying

this is the page , I want to remove featured images from https://www.aklabaity.com/blogs/new-blog

it is the blogs list

0 Likes