selective hiding/showing of featured image
-
Hi all,
I have the featured image hidden on a subset of 12 pages because the featured image that I need to look good in a grid does not look good on the page itself, so I have an alternative image in the text body.
So far so good.
I do have three other pages though where I would like to reenable the featured image.
This is the CSS I was helped with to hide the image:
.page .hero {
display: none;
}But it applies to all pages, how can I make it only apply to 12 of them?
The blog I need help with is: (visible only to logged in users)
-
Hi there, we can create a CSS rule to exclude those featured images from your current code. If you can let me know which pages you wish to have the featured image show on, I can give you the code and then if you have additional pages in the future, you can use it as a guide and add additional pages to it.
- The topic ‘selective hiding/showing of featured image’ is closed to new replies.