Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1291798

    akleineschay
    Participant

    Hello,

    I am having issues setting the max height for my revolution slider. I currently have two revolution sliders on my homepage, one above the mast head and one just below the navbar. I would like to set the max height for the second slider to 450 px. The code I am using is:

    #x-content-band-1 .rev_slider_wrapper, .rev_slider, .tp-fullwidth-forcer, .rev_slider .tp-bgimg.defaultimg {
    max-height: 619px !important;
    } 

    While this does allow me to set the max height, this affects both of the sliders. I would like to target the second slider only.

    Thanks

    #1291803

    akleineschay
    Participant
    This reply has been marked as private.
    #1292006

    Jade
    Moderator

    Hi there,

    Please follow the guide in this link: https://www.themepunch.com/faq/set-max-width-for-slider-5-0/

    Thank you.

    #1292119

    akleineschay
    Participant

    Sorry but this doesn’t answer my question. I wanted to set the max height of my slider, not the max width.

    #1292345

    Christopher
    Moderator

    Hi there,

    Please update your code to :

    div#rev_slider_2_2_forcefullwidth, div#rev_slider_2_2_wrapper, .fullwidthbanner-container .fullwidthabanner {
        height: 619px !Important;
        overflow: hidden;
    }

    Hope it helps.

    #1292378

    akleineschay
    Participant

    This works great, thanks!

    #1292402

    Paul R
    Moderator

    You’re welcome! 🙂