Tagged: Portfolio
-
AuthorPosts
-
September 16, 2021 at 5:21 pm #1321267
Hello
We are having trouble with keeping the thumbnail size the same when using the Portfolio.
We originally loaded the site in 2018 and all the thumbnails were the same size. The portfolios that were added more recently are slightly different sizes and now the most recent one (the last on the page) is about half the height of the rest, regardless of what size image is uploaded as the feature image.
Link shared to page in private content.
We have tried numerous times and can’t work out why the size is different.
We are on the latest version of Enfold (Version 4.8.6.2) and WordPress (5.8.1)
Any suggestions please?
Thanks
September 18, 2021 at 4:28 am #1321427Hey saucyhotdesign,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardSeptember 19, 2021 at 3:58 pm #1321539Hi Rikard
A temporary admin login has been set up for you now.
Thanks very much.
September 20, 2021 at 4:57 pm #1321669Hi,
Thanks for the info!
I edited your Portfolio Grid element and changed image size to square and then added following code to bottom of Style.css file of your child theme
#team-port .grid-image img { max-height: 190px; }
Please review your website :)
Best regards,
YigitSeptember 22, 2021 at 3:46 pm #1321932Hi Yigit
Thanks very much for your help. The changes you made to the Portfolio Grid element helped get us back on track.
To fully resolve the inconsistent image sizes we ended up setting the Medium size images to 500 x 600 px and set that to hard crop in functions.php.
add_image_size( 'medium', get_option( 'medium_size_w' ), get_option( 'medium_size_h' ), true );
Then we ran the Regenerate Thumbs plugin.
We removed the css you added as this seemed to be stretching the images on some screen sizes. Anyway, after the changes made above it was not needed.
Thanks again for your help.
September 24, 2021 at 6:34 am #1322116 -
AuthorPosts
- You must be logged in to reply to this topic.