Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Owl Slider 100% Height?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #237149
    TheN00b
    Participant

    Hello

    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!

    Any help would be greatly appreciated.

    Thank You

    #237213
    timbarden
    Participant

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.