Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #23762


    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:


    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:


    I seem to have fixed this – it was just something in my CSS.

    Thanks for your help :)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘change portfolio grid height’ is closed to new replies.