Hide Sidebar Widgets on Mobile

  • Author
    Posts
  • #77409

    When I have a sidebar showing on my homepage and view on mobile it puts the widgets at the bottom and it looks odd. Is there a way to hide the widgets when the site is viewed on tablet and mobile?

    #77625
    Zed
    Cryout Creations mastermind

    The theme is designed to display the sidebar after the content on mobile devices (since the sidebar content is generally less important than the actual content).

    You can hide the sidebar(s) on mobile devices with CSS if you wish so:

    @media (max-width: 800px) {
       body #primary, body #secondary {
          display: none;
       }
    }

    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Hide Sidebar Widgets on Mobile’ is closed to new replies.