Portfolio featured image show in portfolio page but not in portfolio item page

Hi,
I need to show the featured image of the portfolio item in the main page, with the other items, but not in the item’s dedicated page.

Here a practical example:
I would like to show the featured image here:


But not here:

How can I do it?

Also, can you please tell me how can I do to let the page start from the end of the header?
Now it overlaps, so every time I create a page I must set a quite high padding to the first section not to make it disappear under the header menu.

Thank you,
Valentina

Hi Valentina,

Thanks for reaching out!

To remove the featured image on the single pages, please add the code below in your X > Theme Options > CSS.

.single-x-portfolio .has-post-thumbnail .entry-featured {
	display: none;
}

Please note that custom CSS code is outside the scope of our support. Issues that might arise from the use of custom CSS code and further enhancements should be directed to a third-party developer or you can avail One where we can answer questions outside of the features of our theme.

On the other hand, I don’t see any overlapping menu on your website, would you mind sharing more information? Providing screenshots is a big help.

Thank you.

Hi Marc, thank you for the answer!

Here you’ll find some screenshots of the overlapping problem, from the page https://www.velika.biz/soluzioni/agronet/

15em padding added at the top of the first section of the page
www.kelyan.it/file_upload/2021/agronet_15empadding_top.png

NO added padding at the 1st section (where the problem is clearly show)
www.kelyan.it/file_upload/2021/agronet_no_padding.png

This is a “medium screen” version of the page, here you’ll see also breadcrumbs
www.kelyan.it/file_upload/2021/agronet.png

Thank you,
Valentina

Hi Valentina,

I see this custom CSS affecting the header (on all pages) and causing that issue, is this custom CSS supposed to be applied on the home page only? If so, please change the selector from .masthead to .home .masthead

.masthead {
    position: absolute;
    width: 100%;
}

Hope it helps,
Cheers!

Hi Friech!

It’s not a custom CSS, it was already there… but this seems to be the problem and now works nicely!

Thank you so much

Valentina

Hi Valentina,

You’re welcome, I just want to clarify, any CSS that is added to the site manually, can be edited manually (in your case), and can be removed, is a Custom CSS. That CSS is not native to the Theme, so I know that is a custom CSS.

On a side note, I saw your X and Cornerstone is not in compatible version, please update your X theme to the latest version 8.3.3.

Cheers,

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