if you delete it from the developer in google chrome it works as usual
We don’t use any admin.css on the frontend.
Seems like some plugin or your theme is causing it.
admin.css manages, css menu in the admin woocommerce, changes the css even fronted, since the last update, if within admin.css appear in all classes of woocommerce
But we don’t load any admin.css on the frontend.
Nevermind. Same problem here. Style with id woocommerce_admin_styles-css and href /wp-content/plugins/woocommerce/assets/css/admin.css?ver=2.6.4 is being loaded and breaking my frontend. When I deactivate woocommerce its gone.
Just found the source. Woocommerce multilingual plugin causes that. inc/class-wcml-resources.php calls admin.css on frontend.
I can confirm that it’s the WooCommerce Multilingual plugin loading the admin.css in the frontend. As soon as I deactivate the plugin the issue is gone.
Even the newest version today 4.0.2 causes the issue!
for anybody with the same problem, because it has not been solved yet:
function remove_multilingual_stylesheet() {
wp_dequeue_style( 'woocommerce_admin_styles' );
wp_deregister_style( 'woocommerce_admin_styles' );
}
add_action( 'wp_enqueue_scripts', 'remove_multilingual_stylesheet', 999 );
function add_multilingual_stylesheet() {
wp_enqueue_style( 'woocommerce_admin_styles', WC()->plugin_url() . '/assets/css/admin.css', array(), WC_VERSION );
}
add_action( 'admin_enqueue_scripts', 'add_multilingual_stylesheet', 999 );