Home Forums Viral How to completely remove sidebars?

  • This topic has 1 reply, 2 voices, and was last updated 7 years ago by Hash.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2968
    Bluebay
    Participant

    Hi.

    Thanks for the great theme!

    I want to remove sidebars completely. How can this be done?

    On other themes you can add for example the following code to custom css and its done:

    #primary {
    width: 100% !important;
    }

    So, there is at all pages and posts a right sidebar. How to remove it and make the primary 100%?

    Thank you very much!

    #3032
    Hash
    Keymaster

    The code you mentioned should work. Also you need to add some more code.
    Here is the complete code. The code works for single post, page and archive page only but will not work on home page if set as Home template

    #primary {
    width:  auto;
    float: none;
    }
    #secondary{
    display: none
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.