WooCommrece MyAccount page styling is broken

The WooCommerce My Account page is not using the built-in WooCommerce styles. I noticed in pro/framework/functions/plugins/woocommerce.php the woocommerce-general is deregistered. Any way to get this back?

Hello @olwm,

Thanks for writing in! We have disabled the WooCommerce style on purpose. If you want to use the default WooCommerce styling instead, assuming that your child theme is set up, please add the following code in your child theme’s functions.php file

// Revert Woocommerce Styles
// =============================================================================
function revert_woo_styles(){
  remove_action( 'x_enqueue_styles', 'x_woocommerce_enqueue_styles', 10, 2 );  
}
add_action( 'after_setup_theme', 'revert_woo_styles' );
// =============================================================================

The suggested code above is needed because what you are trying to accomplish requires a template customization, we would highly to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released.

Kindly let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.