Curator Theme: Editing Featured Images
-
Hello! I’m hoping someone here can help me customize the CSS code to edit the featured images on my webpage.
I’m currently using the Curator theme, and I’m trying to change my featured images so that they appear in some posts on my site, but not others.
WordPress support very kindly gave me a CSS code that I am using (see below) to remove featured images from the reader-view of ALL posts across my site. This code allows featured images to be used in a thumbnail view of each post on a particular page, but removes this featured image from the post itself (once you click it to read further).
This is the code I am currently working with:
}
.single-post .post-thumb {
display: none;
}It successfully removes all featured images from the posts themselves. My current problem is that I would like to allow SOME featured images to remain in CERTAIN posts. I’m a newbie to CSS code, and I have no idea how to do this! Any tips or suggestions? Much obliged!
The blog I need help with is: (visible only to logged in users)
-
Hi holdmypurseproject
You will need to add a line of custom CSS for each post that you would like the featured image to display in.
As an example:
To display the featured image on this page – https://holdmypurseproject.com/2017/04/13/bharatanatyam-in-the-wild/
You would need to add the following custom CSS:
article#post-550 .post-thumb { display: initial; } -
You will need to find the Post ID (550 in my example above) for each post that you want to display the featured image on.
To find a Post ID go to your WordPress dashboard > Click Blog Posts and hover your cursor over the post you want to find the ID for.
You will see a little box pop-up in the bottom left-hand corner of your screen that will contain the Post ID number for that specific post.
-
-
- The topic ‘Curator Theme: Editing Featured Images’ is closed to new replies.