All Questions
3 questions
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() {
...
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:
[...
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() {
...