• I have a really large table on one page of my site and I want to remove the sidebar for ONLY this page (and have the content stretch out to cover the added space). Any ideas on how to do this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You may have a full-page-template.php file or something similar in your theme…

    or you can target the body class by page id and do a display:none for the sidebar.

    or you can create a custom template that does NOT call in the sidebar.

    do you have a link you can post?

    Thread Starter cobracore

    (@cobracore)

    Hi,

    I figured it out – Magazine basic calls the sidebar in the footer.php page. I added an extra if statement in the footer.php and then, to adjust the width of the page I targeted the specific page ID in the CSS to adjust the content width.

    Thanks for your help!

    Hi, Cobracore, can you show me the code, please?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove Sidebar for an individual page’ is closed to new replies.