[Resolved] How to switch off sidebar on mobile

Home Forums Support How to switch off sidebar on mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #986296
    ustar

    Hello, there!

    I have set left sidebar/content layer for woocommerce shop page and for single-product page.

    How can i hide this sidebar for mobile devices?
    The cause is: this sidebar displays after content and have no usability at all.

    For mobile devices I will prefere to use widgets from this sidebar in Off Canvas panel.

    Regards, Sergey.

    #986351
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    @media (max-width: 768px) {
        .woocommerce #left-sidebar {
            display: none;
        }
    }
    #986371
    ustar

    Hi, David!

    Works great! Thank you!

    Best wishes, Sergey.

    #986377
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.