I am working with the Roots WP theme. In any case I have installed Woo Commerce as well and I am trying to get it configured to NOT show any sidebar on all Woo Commerce pages.
I have gone through this entire tutorial twice: http://roots.io/using-woocommerce-with-roots/
It does not address how to remove the sidebar for Roots/WooCommerce, just how to remove the duplicate headers, footers and sidebars. Check! I have that accomplished; now I just want to remove the sidebar all together.
I have added the archive-product.php, single-product.php pages into the Roots theme and inserted this line of code:
<?php woocommerce_content(); ?>
I have edited the lib/config.php file to not show a side bar on certain themes.
array(
'template-custom.php',
'template-page.php',
'template-shop.php',
'archive-product.php',
'single-product.php'
)
No avail!
I have done everything that I can possibly think of to remove the side bar. Anyone have any suggestions?
Thanks!