• Resolved msdesignfoto

    (@msdesignfoto)


    Hello!

    I’m trying to set up the sidebar to appear only in the shop page. Not in the individual product page, not in the user pages (about us, contact, and so on). Not in the ordering process pages.

    We only want to see a sidebar in the shop page (root shop and product categories).

    How can we achieve this? I’ve searched everywhere and can only find scarse information that depend on the theme in use or plugins that barely work correctly.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter msdesignfoto

    (@msdesignfoto)

    Update:

    I found this work and it works in OnePress too, just need to place it under Custom CSS:

    /* Hides sidebar in single product pages */
    .single-product #primary {
     width: 100% !important;
    }
    .single-product #secondary {
     display: none;
    }
    • This reply was modified 3 years ago by msdesignfoto. Reason: found a fix
    • This reply was modified 3 years ago by msdesignfoto.
Viewing 1 replies (of 1 total)
  • The topic ‘Sidebar only on shop’ is closed to new replies.