how to remove sidebar from a certain page (2 posts)

  1. hsd913
    Posted 2 years ago #

    hello, is it possible to remove sidebars from certain pages, for example i have a page named store(amazon affiliate framing) and no it fits in there so i would like to make some space by removing the sidebar, any help greatly appreciated, thx

  2. Michael
    Part-Time Forum Moderator
    Posted 2 years ago #

    possibly the most universal way would be to create a page template from a copy of page.php, and remove the 'get_sidebar()' code there; then adjust the css (possibly based in the page template specific body_class output) to stretch the content over the available space.


    details depend on your currently used theme.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.