• Hello,

    I’m trying to remove the sidebar on my woocommerce shop pages:

    The shop, product category, and product pages all display the sidebar. I can’t work out why these pages are displaying the sidebar when all other pages on my site do not (except the blog page – which is the only page I want the sidebar)

    I’d like the sidebar turned off and full width pages displayed on my shop pages.

    I’ve tried turning it off in widgets but it doesn’t work.

    Any help would be great thanks.

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

Viewing 1 replies (of 1 total)
  • 1) First of all we should make sure that the widgets are related to sidebar area. Open your admin panel and go to Appearance > Widgets and see ‘sidebar’ area.

    2) Now we need to locate page template used for the page you need to remove sidebar from. Go to Pages > All Pages and check the one you need, see page template if any.

    3) Now open the correct page file and locate sidebar reference.

    <?php get_sidebar(); ?>

    Just remove it if you do not need it.

    4) In case you have no special template page for the page you can use WordPress conditional tags or create a new page template.

    Feel free to check the detailed video tutorial below:

Viewing 1 replies (of 1 total)

The topic ‘Removing sidebar on specific pages’ is closed to new replies.