Remove Feature Images for Child Pages
-
Hello,
I’m new here, my apologies if this question has been answered already, I was unable to find it with the search.
I’m trying to remove child page featured images that are displayed when viewing from a parent page, but only on certain pages and not others.
For example I want to keep these featured child page images Example
But I want to get rid of these featured child page images Example2
Thanks so much for your help, really enjoy the theme.
Add this to Custom CSS.
.page-id-ID .child-page img {
display: none;
}where
#page-id-IDis the ID of the page in which you want to hide images of child pages.Okay, here is the exact code to hide child page image under Resonate Music page. Just add this to Custom CSS.
.page-id-16 .child-page img {
display: none;
}Thanks Prasanna,
how do I tell what the page ID number is so I can do this for other pages as well?
-Isaac
View page source. You can see something like this,
<body class="page page-id-16 type-page .. ..">So, 16 is the ID of that page.
Prasanna,
Thanks so much, works perfectly
-Isaac
Marking thread as resolved. You can do this yourself as well.
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
