sidebar on pages except homepage
-
I am almost there but I need some help to get it aligned properly. I added this code to have a shopping cart sidebar on the right side of page and all pages except the home page. It works but the cart is now pushed way down and I want to bring it up more even with product box on
/* Move sidebar to the right on all pages EXCEPT home page*/ .home #primary { width: 100%; } .home #secondary { display: none; } #primary { float: left; width: 100%; } #secondary { clear: right; display: block; padding: 50px 0; float: right; width: 30%; } /* to remove the + sign */ .sidebar-link { display: none; } .widget-column { width: 100%; } .one.widget-column { float: none; margin: 0 0 0 40px; }
Also, is there a way to exclude the sidebar on the ‘About Us’ page and other pages I want the text to fill the entire width of the page? Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘sidebar on pages except homepage’ is closed to new replies.