[Resolved] Hide sidebar on mobile for shop and shop archives pages

Home Forums Support Hide sidebar on mobile for shop and shop archives pages

  • This topic has 1 reply, 2 voices, and was last updated 11 months ago by David.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #983594
    Kim

    Hi there, how can I hide the sidebar for shop and shop archives pages on mobile views?

    Many thanks in advance!

    BR Maike

    #983802
    David
    Staff
    Customer Support

    Hi there,

    try this CSS to remove the right sidebar:

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

    If you want to remove the left-sidebar then change #right-sidebar to #left-sidebar

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