Force sidebar except home page

Hi . We are designing a site for a client which has more then 200 pages . we want to have sidebar on all pages except homepage . is there a quick way to do it ?


Comments

  • Hey,

    yes, it is possible. You can force sidebar for pages under Theme options > Sidebars section.
  • Actually In sidebar section . If we use Force sidebar - it is implemented with all pages and we cannot change it for one specific page . As mentiponed before, we need sidebar on all pages except home page

    What we have done as of now is to add custom css to the home page . 

    .with_aside .sections_group {
        width: 100%;
    }
    .with_aside .sidebar.columns {
            display: none;
    }

    with this . we have used forced sidebar option and it also hides sidebar on the home page . Can you please provide feedback if this is a good alternate option or if there is something else we can do.
  • We would use probably a different css to remove sidebar from homepage but if above works fine, then it's probably a good solution as well :)
Sign In or Register to comment.