• How can i takeout the sidebar and title in front page?
    Mine is made by default template (no Quest Page Builder)
    I have tryed to hide by css but takes it out of all pages:

    .col-md-9 {
        width: 100%;
    }
    .main-sidebar {
        display: none;
    }
    .entry-header {
          display: none;
    }

    I gess a wide page template will do the job, but i don′t know how.
    I have tried making a template page-nosidebar.php in child theme folder, same as page.php taking out:

    <?php quest_try_sidebar( $view, 'right' ); ?>

    the page just breaks…

    any help, please.
    thanks
    Sergio

Viewing 2 replies - 1 through 2 (of 2 total)
  • You should be able to do this with CSS – Each page has a different body class (sometimes multiple) and you can reference that in the CSS to make it hidden only on the front page. Try this:

    body.home .col-md-9 {
        width: 100%;
    }
    body.home .main-sidebar {
        display: none;
    }
    body.home .entry-header {
          display: none;
    }
    Thread Starter costelo

    (@costelo)

    perrrrfect!

    i didnt know, or even if it was posible, to apply css to a particular page
    thanks a lot

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Take sidebar out of front page. wide page template?’ is closed to new replies.