• Resolved sunshowerbiz

    (@sunshowerbiz)


    I have a weird rogue sidebar with no styling appearing below the content of the Shoo page, but not the single product pages, with a Search, and navigation links to all the pages on the site. Why? And also, it is unstyled and outside the width range of the main content. Here is the link minus the https://www.

    drevenstedt.com/shop/

    Thank you-

Viewing 1 replies (of 1 total)
  • Thread Starter sunshowerbiz

    (@sunshowerbiz)

    Well I’m glad no one wasted their time answering this because after studying the WooCommerce files EXTENSIVELY I found the snippet of code that makes the rogue sidebar appear. It is located in
    woocommerce/templates/archive-product.php

    Toward the end of the file is the following code and to remove the sidebar, simply delete the code.

    <?php
    		/**
    		 * woocommerce_sidebar hook.
    		 *
    		 * @hooked woocommerce_get_sidebar - 10
    		 */
    		do_action( 'woocommerce_sidebar' );
    	?>
    • This reply was modified 8 years, 2 months ago by sunshowerbiz.
Viewing 1 replies (of 1 total)
  • The topic ‘Rogue Sidebar Below Content of Shop page’ is closed to new replies.