Viewing 5 replies - 1 through 5 (of 5 total)
  • That’s the sidebar, albeit in the wrong place. I am not familiar with your theme. See if you can turn off the sidebar in theme options or go to the Shop page in the list of pages and select a template without a side bar. Other fixes are more complex.

    Thread Starter TheArtfulDodger

    (@theartfuldodger)

    Thanks for the advice. I did not think of that. I tried it but it does not work.
    It still displays the list of pages and categories and the searchbar.
    I have been through the theme settings and WooCommerce settings, but i cannot find anything related to this problem.

    Thanks.

    As Lorro indicates; it is the “sidebar” section;

    <div id="container">
    	<div id="content" role="main">
    	...
    	</div>
    </div>
    <div id="sidebar" role="complementary">
    ...
    </div>

    nothing to do with WooCommerce-setting but mostly about the theme styling!

    There is a mis-aligning within your theme’s page-layout.
    In general usage, the content area and the sidebar is aligned (inside the container) side-by-side (float-left / float-right);
    but as far as I can understand from your page’s css, the container is

    #container {
      width: 100%;
    }

    and the sidebar is outside that div.

    so “container” covers all the width;
    but the sidebar drops down to the next line; which is bottom.

    If you don’t want to use a sidebar; try looking at the settings for a no-sidebar / full-width layout options.

    Or if you made any modifications, just look at where you put them; maybe some “misplaced” closing-div left the sidebar out of the container, etc…

    Try to remove the sidebar with this snippet in functions.php for your child theme:

    <?php
    remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10);

    Some custom css may be needed afterwards to tidy up the page.

    Thread Starter TheArtfulDodger

    (@theartfuldodger)

    Hello,

    Yes, that has fixed the problem. I created a new functions.php file with only
    the code you provided.

    Thank you very much.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Search and page listing on my products page’ is closed to new replies.