• Resolved johncv1985

    (@johncv1985)


    Hi Im trying to add a sidebar to just my product category pages and not my shops front page, is this possible?

    I have tried messing with a child theme a bit but the main issue im having is both sections share the same template the “archive-product”. At the moment I have the page setup to be full width with no sidebars.

    Here is an example of the Category archive I would like to add a sidebar to so I can an a product category navigation widget there. Again while leaving the landing page full width.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    If a theme file for multiple pages is used, you can work with an if / else statement to determine what should happen on which page or you can always create extra template files.

    You can find here how to use theme files and to name them
    https://developer.www.ads-software.com/themes/basics/template-hierarchy/

    Gr

    Thread Starter johncv1985

    (@johncv1985)

    I ended up setting up another child theme and decided to go the route of modifying the “taxonomy-product_cat” and bypass changing the shops front page full width layout by just using “archive-product”. Now It looks like the actual theme im using has a lot of extra templates running in the background making it near impossible for my brain to process what to change.

    • This reply was modified 5 years, 4 months ago by johncv1985.
    Plugin Support RK a11n

    (@riaanknoetze)

    If your theme is overriding the default WooCommerce templates, you’ll want to get in touch with the developers of that theme for more guidance/feedback.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Main and Category Sidebars’ is closed to new replies.