Display:none for thumbnails in all articles
-
Hello,
I would like to know if you could help me with hiding thumbnails in my articles, without having to remove the featured image.
I just want to hide the thumbnails in the articles only but I cannot find the proper selector.
For example here: http://vanity-wow.com/2014/03/26/hats-2/
You can see 2 images.
I tried this:
html.wf-fertigopro1-n4-active.wf-jaffacitweb1-i4-active.wf-jaffacitweb1-i7-active.wf-jaffacitweb1-n4-active.wf-jaffacitweb1-n7-active.wf-active body.single.single-post.postid-755.single-format-standard.logged-in.admin-bar.custom-background.mp6.customizer-styles-applied.highlander-enabled.highlander-light.customize-support div#page.hfeed div#wrapper div#inner-wrapper div#main div#primary div#content article#post-755.post-wrapper.post-755.post.type-post.status-publish.format-standard.has-post-thumbnail.hentry.category-all.category-items div.entry-content a img.post-thumbnail.wp-post-image { display: none; }But it will hide the thumbnail only in this one article, I would like to do this for all.
Thank you for your help!
The blog I need help with is: (visible only to logged in users)
-
I have found the solution.
The Css code for removing a thumbnail image from all posts is:.single .post-thumbnail.wp-post-image { display: none; }It works for Matala theme and maybe for other themes.
Is there a generic list of each location when we want to change the css in our template?
I mean like:
.single = changes css to all individual posts etc..
Thank you :)
- The topic ‘Display:none for thumbnails in all articles’ is closed to new replies.