Reduce heigth of slider

Discussion in 'Infoway WordPress Theme' started by bjoernjohansen, Jun 24, 2013.

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

    bjoernjohansen New Member

    Joined:
    Apr 3, 2013
    Messages:
    22
    Likes Received:
    0
    Location:
    Denmark
    Hi there,

    I would like to reduce the HEIGHT of the slider, as I think it is too dominant and pushes the content way too long down the page (http:www.bjoernjohansen.dk)

    How do I do that?

    Best regards

    Bjørn Johansen
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS


    Code:
    #featured .ui-tabs-panel img {
    height: 80%;
    }
    #featured {
    height: 290px;
    }
    Adjust its value as per your requirements.
     
  3. bjoernjohansen

    bjoernjohansen New Member

    Joined:
    Apr 3, 2013
    Messages:
    22
    Likes Received:
    0
    Location:
    Denmark
    Hi Gourav,

    Thanks for your prompt reply. The above solution squeezes the picture heigth (please see enclosed) How do I avoid that? So that I can upload a file of 920x150 px and it looks great? Would a better solution be to hide the slider (I only intend to use one header) and have a static header photo? If so, how do I do that?

    Best regards

    Bjørn
     

    Attached Files:

  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello Bjorn,

    Upload image of same height that you have set in the css code.
    If you have set image height 150 then upload image of same 150px. It will resolve squeezing problem.
    If you upload single image at the slider then it will behave like a static header photo.
     
  5. bjoernjohansen

    bjoernjohansen New Member

    Joined:
    Apr 3, 2013
    Messages:
    22
    Likes Received:
    0
    Location:
    Denmark
    Brilliant! Thanks
     
Thread Status:
Not open for further replies.

Share This Page