[Resolved] Disable sidebar on mobile

Home Forums Support Disable sidebar on mobile

This topic contains 3 replies, has 2 voices, and was last updated by  Leo 7 months, 3 weeks ago.

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 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 Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.