Support » Themes and Templates » How to remove sidebar

  • how can I remove all the excess sidebars and everything I dont want from my inside pages? (pages, archives, categories…) How do i remove all that?
    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • You will probably need to start customising your theme’s template files – possibly via a child theme.

    Ok, actually, I found where to remove the sidebars from the pages (in my dashboard.) Now, how do I make the page be blank? (and not show “comments” or anything else)

    you will need to edit the corresponding template files of your theme – to find out which ones, see http://codex.wordpress.org/Template_Hierarchy

    and remove the call for the sidebar – typically <?php get_sidebar(); ?>

    then edit style.css to change the formatting to stretch the content area of those inner pages to cover the full width of the theme.

    try working with a browser tool such as Firebug for this purpose.

    Ok, thanks. I am using firebug, and I was able to remove the sidebar.
    Where do I go to remove the “comments” option- leave a reply…? I checked in firebug, and it’s called #respond. So in my style.css, I put #respond{display:none;} But it is still there. Am I doing this the wrong way?
    The url to my site is http://www.accupresh.com

    try:

    dashboard – settings – discussion
    (this will only effect posts/pages created after the change)

    dashboard – posts – all posts – quickedit for each post – untick ‘allow comments’

    dashboard – pages – all pages – quickedit for each page – untick ‘allow comments’

    if this fails, you need to edit possibly page.php of your theme (or watever template part your page.php calls), and remove all comment related code, particular comments_template()

    Thank you very much. Your help was greatly appreciated!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to remove sidebar’ is closed to new replies.