• Resolved kelemvor

    (@kelemvor)


    I just installed WooCommerce and the Shop & Product pages are showing with a sidebar on the right side. It’s the “Blog” Sidebar because WooCommerce pages and considered posts I guess. I’m just looking to figure out how to remove the theme’s sidebar.

    I tried going into Quick Edit and changing the Template but I only have Default, Home, and Left/Right sidebar. Any of those I pick and Update doesn’t save and I’m stuck with the sidebar.

    Any suggestions?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author luzuk Themes

    (@luzuk)

    Hello @kelemvor,

    For removing the sidebar from woocommerce pages you have to override the code in the child theme.

    So make a child theme of Panadero Bakery theme and override the woocommerce folder in it. In woocommerce folder, remove below code & replace the class name “col-lg-8 col-md-8” to “col-lg-12 col-md-12″ in archive-product.php & single-product.php files.

    <div class=”col-lg-4 col-md-4”>
    <?php
    /**
    * Hook: woocommerce_sidebar.
    *
    * @hooked woocommerce_get_sidebar – 10
    */
    do_action( ‘woocommerce_sidebar’ );
    ?>
    </div>

    Thank You.

    Thread Starter kelemvor

    (@kelemvor)

    Thanks for the reply. I made the change and it seems to be working.
    Thanks!

    Theme Author luzuk Themes

    (@luzuk)

    Best of Luck

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How can I disable the sidebar from a Post page?’ is closed to new replies.