If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Where is the code that sets the height of the portfolio slideshows? It’s a style attribute, not a rule, which changes according to the size of viewport.
The portfolio slideshow height depends on the image size. You can change all thumbnail sizes in functions.php. In your case following lines (it depends on the portfolio layout) will determine the thumbnail size:
$avia_config['imgSize']['portfolio'] = array('width'=>465, 'height'=>346); // images for portfolio entries (2,3,4 column)
$avia_config['imgSize']['dynamic_1'] = array('width'=>446, 'height'=>151); // images for 2/4 (aka 1/2) dynamic portfolio columns when using 3 columns
$avia_config['imgSize']['dynamic_2'] = array('width'=>609, 'height'=>210); // images for 2/3 dynamic portfolio columns
$avia_config['imgSize']['dynamic_3'] = array('width'=>688, 'height'=>151); // images for 3/4 dynamic portfolio columns
Change the height value(s) and regenerate the thumbnails with: http://wordpress.org/extend/plugins/regenerate-thumbnails/
Thanks. I changed the portfolio image size to ‘height’=>465. the slideshow images have the correct heights in Firefox, but are all 171px high in Safari. What could be causing this?
Here’s the link: http://www.foster-design.net/clients/hsa-wp-test/residential/
The topic ‘change portfolio grid height’ is closed to new replies.