Support » Fixing WordPress » Removing the Sidebar on Certain Pages

  • leepr


    Hi guys,

    I’m trying to remove the sidebar (not just the content – the space allocated for it) from a couple of my pages, but am not having much luck. I’ve tried a few things including removing the sidebar tags, but I’m not enjoying any success at all. I’m not really a CSS guru – I get along with quick (often messy) hacks.

    If you look at my my page at and its stylesheet at, can anyone advise me how to get rid of the sidebar on certain pages? Would I need a seperate CSS, or what? I’m just trying to make the content in the main part stretcg across the full width of the page.

    Thanks in advance for any thoughts!

    – Thanks in advance for any replies!

Viewing 2 replies - 1 through 2 (of 2 total)
  • moshu


    You will have to create a new Page Template (see the Codex) for that.
    Besides removing the call for the sidebar template, you’ll have to modify the “content” div.
    I’d rename that div in my Page template to something else, e.g. “mywidestuff” – and define it’s width in the stylesheet.
    The width of the content div is defined in your stylesheet as 486px… so whatever you remove it still would be only 486px.



    Excellent – thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing the Sidebar on Certain Pages’ is closed to new replies.