Site logo

[Resolved] Collapse sidebar immediately when it reduces in size

Home Forums Support [Resolved] Collapse sidebar immediately when it reduces in size

Home Forums Support Collapse sidebar immediately when it reduces in size

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #971926
    Pete

    It is possible to set the sidebar css so that as soon as the sidebar width decreases it falls/responsifies under the main body?

    #972240
    David
    Staff
    Customer Support

    Hi there,

    simplest way would be to use some CSS to change the breakpoint when the sidebar stacks like so:

    @media (max-width: 1100px) {
        #primary, #right-sidebar {
            width: 100% !important;
            float: none !important;;
        }
    }

    Adjust the max-width to match the width of the screen when the sidebar / primary start to reduce in width.

    #979779
    Pete

    Thanks

    #979784
    David
    Staff
    Customer Support

    You’re welcome

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