[Resolved] Disable sidebar on mobile

Home Forums Support Disable sidebar on mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1029682
    Anna

    Hi,
    i just want to disable the sidebar on mobile website.

    I find this code:

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

    I added it in mobile css file but don’t work πŸ™‚

    Thanks for your help

    #1029688
    Leo
    Staff
    Customer Support

    Hi there,

    It’s really bad to add CSS to the theme’s core files like this.

    Can you remove that and add it using the Additional CSS field in the customizer?

    Let me know πŸ™‚

    #1029935
    Anna

    always save the original css before editing! πŸ™‚
    Yes, i added it in Additional CSS and the sidebar the sidebar has disappeared, thanks you Leo!

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