Increase the slider image height?

This support request was posted in Folly by deamakesthings

Request ID #582 Resolved
  • Hello,

    I was wondering if there’s a way to edit the slider so that the images are taller. I found in the stylesheet where to increase the height of the div where the slider appears, but not sure how to edit the slider dimensions if at all.


    Juanfra Aldasoro

    Hello Dea,

    Thanks for writing.

    You can edit the line #115 of the file header.php that is:

    nice_image( array ( 'key' => 'slider-image', 'width' => 956, 'height' => 400 ) ) . "\n";

    and replace 400 with the height in pixels you want to have for the slider images.


    That was so fast! Thanks so much for your help.

    Juanfra Aldasoro

    No problem 🙂

    Have a nice day,

    Hey Juan,

    Sorry to bother you again, but I think maybe you were thinking of the front page slider on theme “BBQ” – but I was actually talking about the slider in the portfolio posts in “Folly.” Right now those slider dimensions are 620 x 265.

    I looked in single-portfolio.php and messed with those numbers but it’s not quite working – cutting off the bottom of image/border.

    Juanfra Aldasoro

    Yes, I was talking about BBQ. Sorry about that.

    Well, in this case you need to touch a little bit of CSS too.

    the php you need to edit is the following:

    < ?php nice_image('width=620&height=NN&class=wp-post-image&src='.$src);?>

    Replace NN with the amount of pixels you want to use. Please change that on lines #48 and #62

    The css:

    .slides_container{ height: NN+10px; }

    I would recommend you to some extra space there (that’s why the “+10” is there)


    That does it! Thanks again. : )

    Juanfra Aldasoro

    No problem.

    Have a great day,

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

This topic is marked as resolved

Only the topic author can re-open this thread.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:


Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server