Quantcast
Channel: WordPress.org Forums » [WooCommerce] Support
Viewing all articles
Browse latest Browse all 102134

rinkejacobs on "Theme issue with woocommerce storefront and product page"

$
0
0

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 all articles
Browse latest Browse all 102134

Trending Articles