I'm trying to get a site online for my wife. All is going well so far, but I'm having trouble with the sidebar. I'd like to keep it on the main page only, but remove it from all other pages. Even with very limited content so far, the site is: http://www.aprilsneattreats.com. I've been able to remove the sidebar from the "Cart", "Checkout", and "My Account" pages, but cannot find a way to remove it from the "Shop" or individual product pages, as well as the "Contact" page. At the present time, I've tried the following:
1. Set all pages to the template (full width). This worked for the above mentioned "Cart", "Checkout", and "My Account" pages, but no others.
2. Added the following code to "custom.css". This set the pages to use the full width of the site, but the grey sidebar area still remains.
3. Commented out the line below in "theme-woocommerce.php". This removes sidebar content only.
add_action( 'woo_main_after', 'woocommerce_get_sidebar', 10);
These are the only things I've tried that I've had (some) success with. I've tried other solutions found in the forum, but none seem to work for me, unless I'm doing something wrong.
I would really appreciate any assistance anyone can provide. Thanks.