Southern Listeners

Loading
Thanks to Greenlava for this cool gadget. Get yours here

Sunday, May 22, 2016

Showing Thumbnail Only For Selected Post Sidebar Dynamic Views

Before
After
Sidebar view, by default, shows all thumbnails for the posts that it can locate a thumbnail for. If you're looking for a way to disable the thumbnail for all the posts that is not being viewed (that is, the posts that are not being read), here's a quick way to get this done.

Go to Dashboard --> Template --> Customize --> Advanced --> Add CSS --> paste the following code --> Press enter after the last character of the last line } --> Apply to Blog.
.sidebar .item.hentry .thumbnail{
display: none !important;
}
.sidebar .item.hentry.selected .thumbnail{
display: block !important;
}

1 comment:

  1. Thank you very much for sharing the best code that will be helpful for us to get the thumbnails of only selected posts.
    Emma Charlotte | TheAcademicPapers.co.uk

    ReplyDelete

Please use the 'Ask a Question' page to shoot questions that are not related to the tutorial in the post above.