WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » Theme issue with woocommerce storefront and product page

Theme issue with woocommerce storefront and product page

Viewing 2 replies - 1 through 2 (of 2 total)
  • Roy Ho

    @splashingpixelscom

    I believe this is a question you should ask your theme developer instead. Have you tried that?

    Hi Ritchar,

    Same problem here. My content on the product page is aligned to the left. All the other woocommerce pages are perfect.

    http://www.rinkejacobs.nl/winkel

    I tried to follow these steps (((http://wcdocs.woothemes.com/codex/third-party-custom-theme-compatibility/)))

    This is the code already in my functions.php:

    /**
     * WooCommerce
     *
     * Unhook/Hook the WooCommerce Wrappers
     */
    remove_action('woocommerce_before_main_content', 'responsive_woocommerce_wrapper', 10);
    remove_action('woocommerce_after_main_content', 'responsive_woocommerce_wrapper_end', 10);
    
    add_action('woocommerce_before_main_content', 'responsive_child_woocommerce_wrapper', 10);
    add_action('woocommerce_after_main_content', 'responsive_child_woocommerce_wrapper_end', 10);
    
    function responsive_child_woocommerce_wrapper() {
      echo '<div id="content-woocommerce" class="grid col-940">';
    }
    
    function responsive_child_woocommerce_wrapper_end() {
      echo '</div><!-- end of #content-woocommerce -->';
    }

    What can i do to fix this problem?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Theme issue with woocommerce storefront and product page’ is closed to new replies.
Skip to toolbar