WordPress.org

Ready to get started?Download WordPress

Forums

How to eliminate sidebar, intentionally? (5 posts)

  1. kayannworks
    Member
    Posted 7 years ago #

    Hello.
    Can someone please tell me how to completely and intentionally eliminate the sidebar on all of my WordPress pages, including the very front one that people see when they go to my blog's address?. I'd prefer something with a header/sidebar combo that's at the top below my header-image so I can add links etc. Thanks for any info/help.

  2. Kafkaesqui

    Posted 7 years ago #

    Try looking around here:

    http://themes.wordpress.net/

    and sorting on '1 column' when you do. There are a number of no sidebar WordPress themes about.

  3. gnorb
    Member
    Posted 7 years ago #

    Remove the following line of code from all pages:

    <?php get_sidebar(); ?>

    Personally, I would just comment it out instead of outright deleting it -- just in case.

    //Edit: As for your other request, instead of removing the sidebar, how about just editing the CSS so that it appears where/how you want it to?

  4. moshu
    Member
    Posted 7 years ago #

    Actually, in many cases just deleting the call for sidebar is not enough: while the content of the sidebar will not appear, of course, its place (as an empty column) still will be there in many themes!

  5. snipeseye
    Member
    Posted 7 years ago #

    In your theme just delete sidebar.php.

Topic Closed

This topic has been closed to new replies.

About this Topic