Support » Theme: Simple Catch » Help integrating woocommerce into Simple Catch layout!

  • I am trying to get all of my woocommerce pages to have the same layout as my other pages (no sidebar) I have copied functions.php into my child Theme (simple-catch-child) and put the code below into it.

    remove_action( ‘woocommerce_before_main_content’, ‘woocommerce_output_content_wrapper’, 10);
    remove_action( ‘woocommerce_after_main_content’, ‘woocommerce_output_content_wrapper_end’, 10);

    add_action(‘woocommerce_before_main_content’, ‘simplecatch_child_woocommerce_start’, 15);
    function simplecatch_child_woocommerce_start() {
    echo ‘
    <div id=”main” class=”layout-978″>
    <div id=”content” class=”col8 no-margin-left”>
    <div class=”page woo-commerce status-publish hentry”>’;

    add_action(‘woocommerce_after_main_content’, ‘simplecatch_child_woocommerce_end’, 15);
    function simplecatch_child_woocommerce_end() {
    echo ‘</div></div>’;

    add_action(‘get_footer’, ‘simplecatch_child_woocommerce_footer_end’, 15);
    function simplecatch_child_woocommerce_footer_end() {
    echo ‘</div>’;

    The pictures have now resized to the correct size but as you can see the page is floating left and it is not the same width as my other pages.

    The domain is

    Any help would be great!

    Thanks, Mat.

  • The topic ‘Help integrating woocommerce into Simple Catch layout!’ is closed to new replies.