Reduce height of Homepage Slider
  • ePayePay
    June 2012
    Can someone help me by outlining the way to reduce the height of the HomePage Slider to 300px. I am a first time WordPress user and would really appreciate anyone's help with this change. I am a real fan of the Adora template functionality and style, but need to make this change to the slider before publishing my new site.
  • Link to site and I can give you the code to edit the css
  • ePayePay
    June 2012
    Linked to site - awaiting your advice - much appreciated
  • ePayePay
    June 2012
    Hi there
    When is a good time to get the code?
  • Nooo! The link to your site...
  • ePayePay
    June 2012
    Sorry about my confusion. The site link is:
    http://www.epaycontracting.com.au/wordpress/

    Many thanks.
    Trevor
  • ePayePay
    June 2012
    Any progress with the code for this change - really keen to finalize and publish my site.
    Appreciate any help you can give me.
  • ePayePay
    June 2012
    Sorry to pester you, but I really need to get this site published asap now - hope you can help me
  • You can edit the height in the functions.php... I was going to give you a code... but it looked funky... just edit the size of the slider add_image_size('content-slider', 455, 540, true);

    or whatever page template you are using

    "Full Width Slide images are resized to: 1600x540, Content Slide images are resized to: 455x540, Simple Slider images are resized to: 940x340"
  • ePayePay
    June 2012
    Thanks. Have made that change, but no visual change to slider images. Do I also need to change settings in the anythingslider.css ? If so, where and how do I get to the CSS files .
  • Did you re-upload the pics?
  • mikemike
    June 2012
    You will need to re-upload photos after making the change to your functions.php file. In addition you will need to modify the css here:
    /css/anythingslider.css

    Anything with a height of 540px. Note: This is a customization and we cannot support that. These are pretty thorough directions though as there isn't much more.
  • ePayePay
    June 2012
    Have updated functions.php, anythingslider.css and re-uploaded images.
    This has successfully resized the height of the slider, and cropped the images to fit the reduced height, but the images are still being auto scaled to 560px height before cropping to new 350px height.
    Have I missed a step or is there a way of turning off the auto scaling and cropping as my pictures are all saved at correct 350px height.
  • mikemike
    June 2012
    Note: This is a customization and we cannot support that. Feel free to contact us via e-mail if you want to hire us for help.
    http://support.progressionstudios.com/discussion/4/rules-support-policy#1