Hi:
Can you try removing the page from the TICKETS->SETTINGS->GENERAL tab (scroll down to where the submit-ticket page is being set). That generally prevents the styles from being loaded on submit-page as well.
Thanks.
Also, maybe you should check to make sure your submit-ticket page isn’t being cached and therefore loading the older version with the stylesheet enabled.
Thanks.
Thanks for the reply.
In Tickets > Settings > General > Plugin Pages, I’ve changed the Ticket Submission setting to “None” but it hasn’t made a difference.
I’m sure it’s not a caching issue.
If there’s nothing else in the settings to try, can you let me know the code I need to dequeue the stylesheet in my functions file?
You’ll find the stylesheet loaded in includes/scripts.php around line 221. We check that setting first to see if it should even be loaded so not sure why you’re seeing it loaded even without the option turned on.
You’ll see the lines there that look like this:
wp_register_style( 'wpas-theme-styles', wpas_get_theme_stylesheet_uri(), array(), WPAS_VERSION );
wp_enqueue_style( 'wpas-theme-styles' );
You can comment them out and see if the styles are still loaded.
Thanks.
Thanks. I tried that, but it’s made no difference.
It’s actually a line just above that…
wp_enqueue_style( 'wpas-plugin-styles' );
…that results in the wp-content/plugins/awesome-support/assets/public/css/public.css?ver=4.3.5 script being loaded.
Commenting that out has stopped the stylesheet from being loaded, but it hasn’t helped the UI. It must be the theme we’re using. :-/
Thanks again for your support.
Ah, you wanted the core plugin styles, not the front-end ticket styles.
Just out of curiosity – what theme are you using? (Not that we can do much about but I’m always curious what themes are in use).
Thanks!