WordPress.org

Forums

Stargazer
Remove side bar (5 posts)

  1. fotonlabs
    Member
    Posted 1 year ago #

    How can i remove the side bar from the theme so as to have a fullpage width layout?Thanks

  2. zentrepreneurtv
    Member
    Posted 1 year ago #

    hello,
    same question. when i choose 1 column wide option, it reverts back to 'default'

  3. BabyFaceWeb
    Member
    Posted 1 year ago #

    Hi Guys,
    this is pretty easy.

    If you want to do this globally, you can simply add:

    #sidebar-primary {display:none;}
    #content {width:100%}

    If you want it on a page by page basis, just add the body class for the particular page, such as:

    body.layout-2c-l #sidebar-primary {display:none;}
    body.layout-2c-l  #content {width:100%}

    If you need further help, please let me know ;-)

    Best!
    Steve

  4. newkhan538
    Member
    Posted 1 year ago #

    First sorry for hijacking this post. When i tried to use your given .css code, i was able to remove sidebar, but sidebar space remain empty. Below is screenshot of my page.

    http://www.songspknew.com/wp-content/uploads/2014/07/sidebar.jpg

    any solution?

  5. BabyFaceWeb
    Member
    Posted 1 year ago #

    @newkhan538 - did you use the #content as well at 100%?
    You may try to force it with the priority..like:

    #content {width:100%!important;}

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.