Support » Theme: Singl » singl and woocommerce

  • As the woocommerce plugin does not work together with singl for a couple of pages (e.g. the single products page) it took me a while to figure out how to solve the problem. By adding this code to the “wrapper-start.php” of the woocommerce plugin it all looks perfect:

    case 'singl' :
            	echo '<div id="primary" class="content-area"><div id="main" class="<em>post-2 page type-page status-publish hentry</em>" role="main">';

    The exact code of the italic part can be copied from a normal posting anywhere on the existing singl page. The woocommerce pages are then in centered and in the white frame, just like the rest of the page.

Viewing 1 replies (of 1 total)
  • Moderator Kathryn


    Automattic Happiness Engineer

    Thanks for posting your workaround in case it helps others using WooCommerce with Singl.

Viewing 1 replies (of 1 total)
  • The topic ‘singl and woocommerce’ is closed to new replies.