Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
299 views

Dequeue styles with query doesn't work

In my theme there is the following code (that is printing some inline css on the head of my site) final class Design_Scheme { /** * Design_Scheme constructor. */ private function __construct() { ...
Honoluluman's user avatar
0 votes
1 answer
124 views

Is it good practice moving the main stylesheets after the plugin styles?

currently I deleted the 'classic' hardcoded main /styles.css from header.php and enqueued it from a wp_enqueue_scripts action. Basically, the loading order in header I currently want (and have) is: [...
Luca Reghellin's user avatar
0 votes
1 answer
139 views

Custom CSS not being added by plugin

I am attempting to add custom css through my plugin. I do have wp_head() called in my header. My code is - /** * Enqueue plugin style-file */ function prefix_add_my_stylesheet() { ...
ILikeTurtles's user avatar