• I’m using the Genesis Connect on a WooCommerce site that I am developing.

    However, even with Genesis Connect activated I cannot get the shop page into a Sidebar/Content layout (side default), it forces a Content/Sidebar layout instead.

    Even looking at the source code shows the wrong class is being assigned to the shop page

    <div class="site-inner"><div class="content-sidebar-wrap"><main class="content">

    The class on the second div should be sidebar-content-wrap.

    The Single product page is Sidebar/Content and so are the Taxonomy pages. It’s just he main Shop page.

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

    (@vwondra)

    I had to eventually force it with the following code snippet added to my customer functions area

    function forcewoo_layout() {
     if( is_shop() || 'product' == get_post_type() ) {
     	return 'sidebar-content';
     	}
    }
    add_filter( 'genesis_site_layout', 'forcewoo_layout' );
    • This reply was modified 8 years, 1 month ago by vwondra.
Viewing 1 replies (of 1 total)
  • The topic ‘Shop page stuck on Content/Sidebar’ is closed to new replies.