badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

How to increase slider height?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #53157
    nsleeth
    Participant

    I am using Attitude theme and would like to increase the slider height to approx 700px. Currently it is 1400×450. I have tried changing one of the slider images to a 1400×700 image but it does not show up as a taller image on my website, it is just slightly higher than the rest of my slider images. Thank you.

    #53168

    Hi nsleeth,

    Go to theme folder -> functions.php on line no 142 you will see this code add_image_size( 'slider-wide', 1400, 460, true ); and replace it with add_image_size( 'slider-wide', 1400, 700, true );

    We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. if you wish to add new slider then same customization is required. So better make child theme and customize the code.
    http://codex.wordpress.org/Child_Themes

    After the change is made on image size use regenerate thumbnailsls plugins to regenerate the images.

    Thank you!

    #53176
    nsleeth
    Participant

    Thank you! Got it!

    #53181

    You welcome nsleeth

    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.