dsnsol Posted April 11, 2013 Share Posted April 11, 2013 I've been trying to make some changes to my woocommerce site. I didn't want a sidebar to show on my shop page http://crushstuff.com/shop/ or my product-category page http://crushstuff.com/product-category/onewordstuff/ I found some code that I put within my theme/woocommerce/archive-product.php It totally takes care of the sidebar and it is now gone. My problem is the formatting/layout of the type is different than the rest of my site. The words "crush products" and the photo are too close to the left margin on http://crushstuff.com/shop/ and all the content is too close to the left on this page http://crushstuff.com/product-category/onewordstuff/ I've tried editing a bunch of different stuff and I can't seem to get the type to look like it did before....HELPt many thanks! Quote Link to comment https://forums.phpfreaks.com/topic/276841-help-with-formatting/ Share on other sites More sharing options...
lemmin Posted April 11, 2013 Share Posted April 11, 2013 The content div that you removed had styling for both the sidebar-right as well as that padding that you are now missing. You can add it back in by adding this line to your stylesheet (style.css): #main-wrap{padding:50px} Quote Link to comment https://forums.phpfreaks.com/topic/276841-help-with-formatting/#findComment-1424248 Share on other sites More sharing options...
dsnsol Posted April 11, 2013 Author Share Posted April 11, 2013 thanks for the response....I added that to the style.css (and it said don't do that do custom.css) I tried both ways...and it still didn't work Quote Link to comment https://forums.phpfreaks.com/topic/276841-help-with-formatting/#findComment-1424251 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.