Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
  • #7865


    Great template! One of the best that I bought on ThemeForest!

    I have a question … How do I change the height of the slideshow in the homepage?

    Thank you in advance,



    Hi Jonathan, as far as I can tell, the slideshow automatically resizes based on the image you upload. So, you will have to resize the images before you upload them to your homepage gallery.

    There are some resizing PHP scripts (timThumb) that you might be able to use if you know a little PHP.



    you can change the slideshow/image dimensions in functions.php. Afterwards regenerate the thumbnails with:


    Can you tell me where in the functions.php the change in the dimenstions need to be made. Can’t seem to find it. Thanks.


    It’s in the main theme directory (where index.php, single.php, etc.) is located.


    I’ve located function php. What I was referring to was the specific change within the code within the function php directory. Hope this makes sense ;) Thanks again!


    At the very top you’ll find following code:

    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36 );						// small preview pics eg sidebar news
    $avia_config['imgSize']['post-format-image'] = array('width'=>630, 'height'=>999, 'crop'=>false); // big images for post format image and gallery posts
    $avia_config['imgSize']['fullsize'] = array('width'=>930, 'height'=>930, 'crop'=>false); // big images for lightbox and portfolio single entries
    $avia_config['imgSize']['featured'] = array('width'=>930, 'height'=>340); // images for fullsize pages and fullsize slider
    $avia_config['imgSize']['portfolio'] = array('width'=>450, 'height'=>335); // images for portfolio entries (2,3,4 column)

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

    As you can see some thumbnail sizes are defined here (like images for lightbox & pages, etc.). Change the height value as required and regenerate the thumbs with:


    Thank you! Work like a charm ;)


    Glad that I could help you :)


    I have the same issue, I have regenerated all images but that makes no difference, I am using the template builder in Propulsion/woocommerce and a dynamic 3 column slider but the depth of the slider image will not remain a constant depth so the home page is constantly going up and down. Is there a way to do this without having to crop each picture individually in Photoshop?

    Many thanks



    Hi M,

    If the height of your images is less than the height in your functions.php you may run into this but even then I am not sure. Do you have a link to the site which is having the issue?



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

The topic ‘Change the height of the slideshow in the homepage?’ is closed to new replies.