Home Forums Theme Support Dokan Remove Sidebar

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Rachelle 5 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17822

    Rachelle
    Member
    Post count: 54

    Is it possible to remove the left sidebar when viewing an individual product so it shows in full page layout as the default setting?

    Is it possible to remove the right sidebar altogether on the main page?

    #17826

    Mahi
    Member
    Post count: 1555

    with out editing template files its not possible currently.

    1) removing widget from single product page:

    open single-product.php file and find <?php get_sidebar( 'product-single' ); ?> on line 12

    replace it with: <?php //get_sidebar( 'product-single' ); ?>

    then, make sure to do adjusting with your styling as well.

    on line 14 –

    remove: col-md-9

    Now, it will be visible full page.

    2) same as before. Open page.php file and at the bottom find <?php get_sidebar(); ?>
    replace it with: <?php //get_sidebar(); ?>

    then make sure to adjust your styling as well on line 11 remove: col-md-9

    #18049

    Rachelle
    Member
    Post count: 54

    Nevermind.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Remove Sidebar’ is closed to new replies.