WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Removed sidebar, what to do to actually free the space? (2 posts)

  1. ssamik
    Member
    Posted 6 years ago #

    Using the default theme (Kubrick) I wanted to remove the sidebar, so I went ahead and removed <?php get_sidebar(); ?> from page.php and from index.php as I'm unsure witch would have been the "correct" to remove. And lo and behold, the sidebar is gone. But looking at pages with a bit of text on them, it's not actually gone. Just invisible sort of, as the space it used to be is unavailable for me to use. Just look at My Page, the text should have used the whole width of the header.

    What do I have to do now? I've tried searching the forums, but I can only find the same question, not an answer. Please help!

  2. ssamik
    Member
    Posted 6 years ago #

    Thanks to IRC and "rmccue", I now know the answer. :-D

    The steps are as follows: Remove <?php get_sidebar(); ?>
    from page.php, change all instances of narrowcolumn to widecolumn (I did it in all php files, and in styles.css) and lastly, delete sidebar.php.

Topic Closed

This topic has been closed to new replies.

About this Topic