Home › Forums › Jevelin Theme › Related items image ratio
Home › Forums › Jevelin Theme › Related items image ratio
Hello,
I have a problem with the ratio of images in the related items section on a project page.
Several images appear cropped… I use only images with a square ratio and I want this same ratio for this section. I tried to fix it with CSS code and media settings but nothing is working.
Can you help me ? I send you a link and a capture.
Thanks a lot !
Loeiz
Hi Loeiz,
I hope you are well today and thank you for your question.
Please try regenerating thumbnails on your site using the below plugin.
https://wordpress.org/plugins/force-regenerate-thumbnails/
If it doesn’t resolve then add the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
.sh-portfolio-single-related img.sh-portfolio-img {
width: auto;
}
Best regards,
Shufflehound team
Hi,
I tried that but it doesn’t work.
Any other ideas ?
Thanks a lot,
Loeiz
What have you tried?
Have you regenerated the thumbnails on your site?
I can see you are not using above shared CSS code as it is on your site so please use it.
Sorry, I had made a mistake.
Now, i regenerated the thumbnails with your plugin and I used shared CSS.
But it doesn’t work…
Would you mind if I log in to your site and do some troubleshooting? If this is ok then could you please temporary share me your site admin log in details privately by adding them in the box having text “Enter your private content here (only you and forum moderators will be able see it)”?
Ok, thanks a lot, I give you my login in the private content.
I logged into your shared site and make it work for you by editing the below theme file on line number 554
/jevelin/framework-customizations/extensions/portfolio/views/single.php
If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.