Forums
Home / Fixing WordPress / Remove Sidebars from select pages
(@jomichaels)
9 years, 8 months ago
I am using the following code in my themes custom css area to allow me to control the width of my content vs sidebar. This works but applies the sidebar to every page. Can someone help me add parameters that would limit this to certain pages? :
#sidebar { background: #fff; border-left: 1px dotted #ccc; padding: 0px 0px 10px 10px; float: right; width: 20em; }
#content { float: middle; padding: 0px 0px 0px 0px; width:832px; }
(@intern101)
See this post maybe this will help.
http://wordpress.org/support/topic/how-to-use-different-sidebar-for-some-pages?replies=12
http://blogcraving.com/sidebars-pages-wordpress-blog/
I’m new to html and heard that I could set parameters within the code above in the custom css area in lieu of creating separate page files…