Tagged: cornerstone
-
AuthorPosts
-
December 13, 2016 at 2:49 pm #1291798
akleineschayParticipantHello,
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
December 13, 2016 at 2:50 pm #1291803
akleineschayParticipantThis reply has been marked as private.December 13, 2016 at 6:15 pm #1292006
JadeModeratorHi there,
Please follow the guide in this link: https://www.themepunch.com/faq/set-max-width-for-slider-5-0/
Thank you.
December 13, 2016 at 7:05 pm #1292119
akleineschayParticipantSorry but this doesn’t answer my question. I wanted to set the max height of my slider, not the max width.
December 14, 2016 at 1:02 am #1292345
ChristopherModeratorHi 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.
December 14, 2016 at 1:51 am #1292378
akleineschayParticipantThis works great, thanks!
December 14, 2016 at 2:32 am #1292402
Paul RModeratorYou’re welcome! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1291798 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
