WordPress.org

Ready to get started?Download WordPress

Forums

How to remove the sidebar (5 posts)

  1. Brtsnel
    Member
    Posted 4 years ago #

    Hello,

    I'm currently using the panorama theme and i want to remove the sidebar.

    I removed the following code
    <?php get_sidebar() ?>
    from index.php

    The sidebar is gone but my blogpost doesnt have the same width as the blog/website itself.

    Hope someone can help me with this :)

  2. grvpande
    Member
    Posted 4 years ago #

    if you want to remove the sidebar from each page and blog

    change the width to 100% as below in rcol.css,and delete the sidebar option(<?php get_sidebar() ?>) in all files like page.php etc

    #main {
    float:left;
    margin:0;
    overflow:hidden;
    padding:0;
    width:100%;
    }
  3. courageinc
    Member
    Posted 4 years ago #

    @grvpande: I don't have an rcol.css file. Any other thoughts on where it would be? And what specific item do we need to change to 100%?

  4. courageinc
    Member
    Posted 4 years ago #

    @grvpande: I don't have an rcol.css file. Any other thoughts on where it would be? And what specific item do we need to change to 100%?

  5. randinicole
    Member
    Posted 4 years ago #

    can you link me to the blog, make sure the sidebar php is gone from single post, page and index.

Topic Closed

This topic has been closed to new replies.

About this Topic