suppress sidebars

  • aethyr

    #3710

    Is there a way to suppress sidebars on certain pages, or at the very least, anything non-homepage? And as part of the suppression, extend the width of the content to full?

    Mod

    Kenneth John Odle

    #25639

    In the page editing pane, just select the appropriate template from the “page attributes” pane.

    Mod

    Kenneth John Odle

    #25640

    Posts can probably be achieved via CSS.

    aethyr

    #25641

    Thank you, that worked for pages.

    As for posts, I wonder if modifying the php would be easier? I hate fighting CSS…

    EDIT: Found the CSS that worked for me:

    I have dual sidebars, surrounding the content. So I need to suppress both.

    Code:
    .single-post #content-main {
    width: 100%;
    }

    .single-post #sidebar1 {
    display: none;
    }
    .single-post #sidebar2 {
    display: none;
    }

    Josh

    #25642

    (Marking thread as resolved)

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.