[Support request] Sticky side bar (#left-sidebar)

Home Forums Support [Support request] Sticky side bar (#left-sidebar)

Home Forums Support Sticky side bar (#left-sidebar)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1618085
    Sam

    Hello, I came across this thread (https://generatepress.com/forums/topic/how-to-make-the-sidebar-static/#post-784512) and would like to adapt David’s CSS to work with the left side bar. I changed the code and updated the id to #left-sidebar but that results in the left side bar jumping to the right side of the page (the vertical sticky works though).

    Any thoughts on how to correctly apply to the left side bar?

    Also, is it possible to apply with a fall back to non-sticky behaviour for IE11?

    thanks
    Sam

    #1618228
    David
    Staff
    Customer Support

    Hi there,

    go to Customizer > General and change the Structure to Flexbox. Then that CSS should work correctly.

    IE doesn’t support position: sticky, so just won’t do anything ie. it won’t be sticky 🙂

    #1618301
    Sam

    Ah ok, I hadn’t had a chance to switch to Flex Box yet through fear of breaking the layout (we have quite a bit of custom CSS).

    I’ll have a look at that, thanks!

    #1618378
    David
    Staff
    Customer Support

    Let us know how that works out 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.