Show Featured Image for First Post Only

Hi, I’m trying to show the featured image for the first post listed but hide the rest of the featured images on my index. How do I do this?

Here’s the page: https://www.canaangroup.ca/news/

Thanks.

Hello @coracle,

Thanks for writing in!

Regretfully there is no setting in the theme that you can display one featured image and hide the rest of the featured images in your post archives. It would only be possible with custom development which is outside the scope of our support already.

To get you started with own customization, you need to use the Google Chrome Developer Toolbar to check the live HTML code and find which CSS selector you need to use.

The respective post item were using the post and .entry-featured for targeting the featured image. To hide it, you may use a custom css display: none; which would likely be this:

.element-class {
  display: none; 
}

We are unable to provide CSS code for the customization as it is outside of our support scope. The points above will be a good starting point and if you are interested you can learn more about CSS selectors and details here

To lear more about the different CSS selectors, feel free to check out these resources:

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.