Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1408858

    Hello. We would like to make the blog sidebar sticky. Is there an option for that?

    #1408876
    #1409192

    Hi,
    Thanks for sharing Guenni007, were you able to achieve this menainfosec?

    Best regards,
    Mike

    #1412932

    Hi Guenni,

    I couldn’t understand the code on the pages you shared.

    #1412938

    In the first link, the opening sentence and the comments actually say all you need to know. :

    It is important that the immediate parent container of the elements (on which one should be sticky) is at display: flex
    There are a lot of settings on flex containers – but this is the essential condition

    on the image

    you can see that for the sidebar (aside) the direct parent element is the div with the class: container.

    The sidebar itself got that position sticky – the top value determines the distance to top.
    This for sticky position inside the parent container.

    But:

    /*** the whole thing only works if top containers are set to: ***/
    .responsive #top {
        overflow-x: visible;
    }
    
    #top #wrap_all {
        overflow: visible;
    }
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.