Tagged: x
-
AuthorPosts
-
March 27, 2016 at 6:28 pm #854511
I have used the below code to change the max height of my full width home page slider:
.rev_slider_wrapper, .rev_slider, .tp-fullwidth-forcer, .rev_slider .tp-bgimg.defaultimg {
max-height: 619px !important;
}The problem is that when I setup an above the masthead slider the same max-height is used.
Trying to define a max-height for use the 1 specific slider.Please advise. Thanks!
March 27, 2016 at 7:18 pm #854555Hi there,
Thanks for writing in! We’ll try to see if we can narrow down your slider CSS selector. To assist you with this issue, would you mind providing us with your URL? Thanks!
March 28, 2016 at 11:10 am #855241Yeah. No problem.
TheRiverChurch.net
March 28, 2016 at 1:04 pm #855413Hi there,
Thanks for updating. You can add the preceding parent class to your CSS. For example, for the slider on top, you can use :
#x-content-band-1 .rev_slider_wrapper, .rev_slider, .tp-fullwidth-forcer, .rev_slider .tp-bgimg.defaultimg { max-height: 619px !important; }
You can do the same for other slider and this will not affect other slider.
Hope this makes sense.
Cheers!
March 28, 2016 at 1:39 pm #855452Thank you for the code. But I am still experiencing the above masthead slider with the same max-height.
Would the content band number change with the added section above?
I have left the slider up on the site so you can see.
Thanks!March 28, 2016 at 8:50 pm #855908Thanks for the help. I actually have resolved the issue myself. Appreciate the code. Pointed me in the right direction!
#x-content-band-1 .rev_slider_wrapper, #x-content-band-1 .rev_slider, #x-content-band-1 .tp-fullwidth-forcer, #rev_slider_2_2 .rev_slider .tp-bgimg.defaultimg { max-height: 619px !important; }
March 28, 2016 at 9:56 pm #856002Glad you’ve sorted it out. 🙂
-
AuthorPosts