I want to replicate what this theme is doing but using Owl Carousel instead of whatever it is they are using.
I am nearly there, but I just can’t figure out how they are getting the slides to be 100% height! I am inspecting their CSS, but I just can’t see how they are getting it done!
The slides aren’t actually 100% height – it’s just based on the proportions of the images used. Change the proportions of the window and you’ll see the slider doesn’t adhere to the dimensions.
Your best bet for 100% height slides is using height: 100vh; on the Owl’s .slide class – that way, they’ll alway match the window size.
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘CSS’ is closed to new topics and replies.