Support » Theme: Whispy » Need style.css to be last loaded CSS

  • With this Whispy theme the style.css is first loaded followed by CSS files of all the plugins. For example :

    <link rel="stylesheet" type="text/css" media="all" href="">
    <link rel="stylesheet" id="sfw-comment-style-css" href="" type="text/css" media="all">

    I need style.CSS to be loaded last because I want to apply some global styles that override my plugins.

    This didn’t used to happen with other themes, or older versions of wordpress.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author clashmedia



    Stylesheet enqueueing is all handled by WordPress itself. This is so that plugins CAN override the core style.css

    If you wish to override that yourself, I’d recommend simply creating your own custom .css file, and statically including it AFTER the wp_head() entry in header.php That way you are guaranteed thta it will not be overridden.

    Theme Author clashmedia


    Actually – one thing I might try is to deactivate and then re-activate the theme itself – that MIGHT change the stylesheet loading order. I know that plugin order is set by what order they were activated in. Did you install those plugins AFTER installing the theme?

    I used to have another theme and then i installed a bunch of plugins. Then I installed your theme, and now i have the problem. But its OK I think plugins SHOULD overide style.css, so I think I will create my own CSS file and add it after, and that should fix it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need style.css to be last loaded CSS’ is closed to new replies.