Reduce Slider Height

Discussion in 'Blackriders WordPress Theme' started by cvin, Oct 16, 2013.

Thread Status:
Not open for further replies.
  1. cvin

    cvin New Member

    Joined:
    Aug 30, 2013
    Messages:
    14
    Likes Received:
    0
    How do I adjust the height of the slider?
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Paste the following code in your Custom CSS
    (Appearance -> Theme Options -> Styling Options -> Custom CSS)
    Code:
    .flexslider .slides {
    height: 471px;
    }
    .flexslider .slides img {
    height: 467px;
    }
    
    You can adjust the value of height as per your requirement.
    This will solve your issue.
     
  3. trishheffner

    trishheffner New Member

    Joined:
    Oct 7, 2013
    Messages:
    1
    Likes Received:
    0
    Is this code the same to use for the width?
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107

    No, it is not the code to change width of slider.
    It is also not possible to change the width of slider because if we try to change the width then the theme will lose its layout.
     
  5. cholcombe

    cholcombe New Member

    Joined:
    Oct 12, 2013
    Messages:
    19
    Likes Received:
    0
    I've pasted the above code in the custom CSS, but it is having no effect on the slider height. I've changed the size to various sizes, to no effect. Is there something else I need to do?
    Thanks
     
  6. cholcombe

    cholcombe New Member

    Joined:
    Oct 12, 2013
    Messages:
    19
    Likes Received:
    0
    Never mind. I moved the CSS code to the bottom, cleared my cache, and now it works.
     
Thread Status:
Not open for further replies.

Share This Page