Excerpt Thumbnails
-
Hi,
I’m using the excerpt view for my posts & found a way to to edit the code to get my most recent post in full and the other 4 on the page as excerpts. Now I have an unwanted thumbnail in my most Recent Post, but I would like to keep the thumbnail for the older excerpt posts. I found this code by Kenneth John Odle from a few years ago and I pasted it in custom css and it worked to remove the thumbnails, but is there a way it can be changed to keep the thumbnails on older posts and just remove it from the 1st one?
img.attachment-thumbnail,
img.size-thumbnail,
.wp-caption img {display:none;}Thank you,
Lori
website: http://www.ffglobetrotter.com
Admin
#content-main .hentry:first-child .excerpt-thumb {
display: none;
}Caveat: will not work in some older browsers.
Admin
Try this:
#content-main .hentry:first-child .excerpt-thumb {
display: none;
}
.paged #content-main .hentry:first-child .excerpt-thumb {
display: block;
}
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
