Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author malihu

    (@malihu)

    Hi,

    I don’t think you’ll be able to apply the plugin on this layout because all content parent elements have 100% the height of viewport.

    In order for the plugin to work, you need at least one parent element with the actual height of content (in css height: auto).

    For example, if you remove height: 100%; from main.content (or from any other parent div) the plugin will work, but I don’t think this is what you want in your design and you’d need to modify your layout.

    Thread Starter krievinshj

    (@krievinshj)

    Yes, you are right. As soon as I remove 100% height from html, body and .site-container, scrolling works. Solution is to use “height:100vh” for div to get it full height, I am just worried about browser support.

    Plugin Author malihu

    (@malihu)

    That’s a clever solution 🙂
    I don’t think you’ll have problems with it unless you want to support IE8.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Not scrolling’ is closed to new replies.