Hiding Feature Images in Child Pages
-
The site is still being constructed with content. I haven’t filled in everything yet. But there is content, I am a writer and much of it is filled in already. So how do I get my content back but keep the images as they are?
-
What about this code? It appears to work, but is it legit?
.entry-thumbnail {display: none;}
.grid-row .entry-thumbnail {display: inherit;}I’m nervous of using workabout code if there is a proper code to use?
-
If the code works and does what you want it to, then use it. The first rule hides all images using .entry-thumbnail as a CSS class and the second un-hides some of them. The following would be my preferred way of doing it since it (with more specific selectors) is just a single rule and doesn’t require doing and then undoing.
.page-child .attachment-motif-page-thumbnail { display: none; } -
Thank you The Sacred Path. It is working beautifully now and I have purchased the Custom Design, so it is now live too. Your help has been invaluable and I’m extremely grateful.
-
- The topic ‘Hiding Feature Images in Child Pages’ is closed to new replies.