Hi there,
Thank you for contacting us!
I have checked and there are no CSS related to classes like the ones you shared:
.ui-tabs
.ui-tabs-nav
.ui
Perhaps you meant anything else?
Please, let us know.
Have a nice day!
Thread Starter
James
(@outrankjames)
Hi Hector,
It comes from /wp-content/plugins/yith-woocommerce-wishlist/plugin-fw/assets/css/jquery-ui/jquery-ui.min.css?ver=1.11.4
Hi there!
You are right, in that folder those styles are present.
That folder is an internal tool we use to develop our plugins, however, those styles should be only loaded within the panels of our plugins, not anywhere else.
Could you detail exactly the issue so we can try to reproduce it in our local environments?
So far this is the only complaint about that as far as I know.
Please, let us know.
Have a nice day!
Thread Starter
James
(@outrankjames)
The easiest method to reproduce this is probably using the Option Tree plugin (there’s a few themes that use this to manage theme options).
https://wordpress.org/plugins/option-tree/
We’ve also noticed that this overrides the contact form 7 backend styling on the tabs when editing a contact form. Seems that the CSS is being loaded throughout the wp-admin section and not just when viewing the Wishlist configuration page.
Hello there,
I’ve checked both plugins from their configurations, and none of them have the styles file you mention, so it’s probably a particular problem with your site.
Try adding the following code inside the functions.php file of your active child theme, to see if this resolves the issue:
if ( ! function_exists( 'yith_wcwl_dequeue_scripts' ) ) {
function yith_wcwl_dequeue_scripts() {
if ( isset($_GET['page']) && ( 'ot-settings' === $_GET['page'] || 'wpcf7' === $_GET['page'] ) ) {
wp_dequeue_script( 'jquery-ui-style' );
wp_deregister_script( 'jquery-ui-style' );
}
}
add_action( 'admin_enqueue_scripts', 'yith_wcwl_dequeue_scripts', 99 );
}
Let us know any news.
Best regards.