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

    Hi

    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.

    Thanks

    #121066

    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)

    and

    $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/

    #121067

    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/

    #121068

    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.