[Resolved] How to Disable the sidebar on mobile?

Home Forums Support [Resolved] How to Disable the sidebar on mobile?

Home Forums Support How to Disable the sidebar on mobile?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1312094
    Stephane

    Hello

    How to Disable the sidebar on mobile? By default, it is displayed below the content. I would like not to display it at all?

    Regards

    #1312250
    David
    Staff
    Customer Support

    Hi there,

    this CSS to remove the right:

    @media(max-width: 768px) {
        #right-sidebar {
            display: none;
        }
    }

    this to remove the left:

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

    OR this to remove both:

    @media(max-width: 768px) {
        #right-sidebar, #left-sidebar {
            display: none;
        }
    }
    #1312838
    Stephane

    Thx David ❤️

    #1313125
    David
    Staff
    Customer Support

    You’re welcome

    #2251564
    Neal

    DAVID

    I went looking for a way to disable my blog’s sidebar on mobile screens and found this page. and your solution worked perfectly.

    Thanks!

    NEAL

    #2251759
    David
    Staff
    Customer Support

    Hi Neal, – glad you found it of use 🙂

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