Change the size of portfolio featured image in INTEGRITY STACK

Hi guys,

I am having trouble with the featured image size for my portfolio, the size is huge and we do not have such as images to use here, I already chose to hide featured image but if someone shared the portfolio entry on social media there is no image to share, I would like to have just a smaller image instead of the default one, I tried using this code that I saw in another post

.single-x-portfolio .entry-thumb {
max-height: 400px;
overflow: hidden;
}

but it just reduce the height so part of the image cant be seen, is there any way to achieve what I need?

You can see my current portfolio in this link: https://proyectochina.com.mx/portafolio-item/auditoria-de-fabrica-de-guantes-de-latex/

Best Regards,
Miguel

Hi There,

Please try with custom CSS instead:

single-x-portfolio .entry-thumb {
    max-witdth: 400px;
}

Hope it helps :slight_smile:

Hello,

Thanks but I did not work, please let me know if there is other way. I am already considering to use portfolio feature from Jetpack.

Cheers

Hi Miguel,

There’s a typo in the above provided CSS rule. Try updating the above code as below.

.single-x-portfolio .entry-featured {
    max-width: 400px;
}

Hope that helps.

Hello Mldarshana,

Thanks for the support! it worked, I adjust it to 800px and it is looking nice.

Cheers,
Miguel

Glad it’s working now and you’re most welcome!

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