Tagged: x
-
AuthorPosts
-
February 22, 2017 at 7:31 am #1381275
Michael PParticipantHi,
I have a blog entry in which I don’t want to use a featured image, but I’d like to have a thumbnail for the entry on the blog summary page. See the Dialogues with Sebastian Gronbach entry here:
http://www.andrewcohen.com/journal/
Is it possible to add a thumbnail with CSS, or is there a method of adding an alternative image?
Many thanks!
February 22, 2017 at 9:28 am #1381474
RupokMemberHi there,
Thanks for writing in! You can add this under Custom > CSS in the Customizer to remove featured image from single page :
.single-post .entry-featured { display: none; }Hope this helps.
Cheers!
February 22, 2017 at 9:40 am #1381497
Michael PParticipantThanks – how would I apply that to a single page? Apologies for my ignorance, but isn’t this global css?
February 22, 2017 at 10:16 am #1381554
ThaiModeratorHi There,
Please update the CSS to this:
.single-post .entry-featured, .page .entry-featured { display: none; }Hope it helps 🙂
February 22, 2017 at 10:24 am #1381568
Michael PParticipantHi,
That CSS removes the featured image on every blog post. I just want to remove the featured image for an individual blog post.
Thanks!
February 22, 2017 at 11:34 am #1381655
Nabeel AModeratorHi again,
If you need to remove the featured images individually then you can do this with post ids for example, to remove the featured image from the post id 626, you can use this code:
.postid-626 .entry-featured { display: none; }To find out the post ids see https://community.theme.co/kb/how-to-locate-post-ids/
Hope this helps!
February 22, 2017 at 11:40 am #1381663
Michael PParticipantThanks – that’s what I needed 🙂
February 22, 2017 at 12:10 pm #1381687
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1381275 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
