stylesheet below footer
-
Hi, great plugin! thanks.
Only thing – for me it’s adding the stylesheet after the footer. Maybe it’s my theme, I don’t know. In case anyone else has the same thing, I have tweaked it by hooking the wp_user_stylesheet_switcher_addcss function to wp_enqueue_scripts instead of wp_head, and giving it a priority of 99 so that the stylesheet is inserted in the head just after all the other stylesheets in the theme.
My new line 353:
add_action('wp_enqueue_scripts', array( $this, 'wp_user_stylesheet_switcher_addcss'), 999);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘stylesheet below footer’ is closed to new replies.