Ready to get started?Download WordPress


[resolved] How do I remove sidebar from certain pages and make page fit full width? (6 posts)

  1. Androidandreas
    Posted 5 months ago #

    I understand how to edit the page.php file to remove the sidebar from all pages on http://www.andrewstucken.com

    So far, so straightforward.

    However, I would like to retain it on some pages, and furthermore reclaim the sidebar;s space so that the page fits the full width.

    How do I do this, please?

  2. Maria Antonietta Perna
    Posted 5 months ago #

    You're using the Expound theme. Going through its templates I found one that can be applied to create a fullwidth page without affecting the entire site. Go to page-templates/template-full-width.php. Therefore, when you want a page without sidebar, use this template rather than the ordinary page.php

  3. Androidandreas
    Posted 5 months ago #

    Thankyou Antoinette.

    So to remove the sidebars form existing pages I guess I have to delete the existing code from those pages and paste it over form new pages created using the Template you mention.

  4. Maria Antonietta Perna
    Posted 5 months ago #

    Please, don't delete any code from the pages. Try to apply the template from the admin panel. Access the page you'd like to apply this template to. There should be a dropdown list with available templates. Choose the full width template from there.

  5. Androidandreas
    Posted 5 months ago #

    I see what you mean now. It is much simpler than I thought. Thanks!

  6. mariannetremaroli
    Posted 4 months ago #

    ok how do I remove the side bars in the zeetasty theme? I can't seem to get the text to go across the entire length of the page.


You must log in to post.

About this Theme

About this Topic


No tags yet.