How can I change the CSS to not include the sidebar on a Page?

  • Author
    Posts
  • #821515

    ocinteeni
    Member

    I need to make a new page and I forgot how I removed the sidebar on the other pages I already made.

    If you look here at the new page I created the sidebar is still there. http://habituateoc.com/whp/

    If you look here at the about page which I made a while ago the sidebar is not there. http://habituateoc.com/about/

    I remember someone in the forums helping me by giving me some CSS code to copy and paste but I do not remember what the code is and where to paste it.

    The blog I need help with is habituateoc.com.

    #821632

    Steira’s a bit quirky. It displays the sidebar on pages only if comments are completely disabled. On your http://habituateoc.com/about/ page, you have trackbacks (a type of comment) enabled and so the sidebar would normally display a “Comments are closed” bit of text, but you have this in your CSS to hide it:

    p.nocomments {
      display:none;
    }

    This page is setup the same way: http://habituateoc.com/petropoulos/

    To make other pages work the same as those, open the page for editing, uncheck the ‘Allow comments’ checkbox, check the ‘Allow trackbacks’ checkbox, and save changes.

The topic ‘How can I change the CSS to not include the sidebar on a Page?’ is closed to new replies.