Not importing css
-
My style.css file has an @import “css/master.css”; directive to import from elsewhere in the theme directory.
It’s always worked fine until recently, when sometimes it doesn’t load the css – whereupon the source shows <style>@import url(path removed) ;</style> rather than <link rel=”stylesheet” type=”text/css” href=”path removed”/>. I notice that the former is a local path (and incorrectly minus the leading slash to denote the root) whereas the latter is the full http url.
header.php has the usual <link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘stylesheet_url’); ?>” />.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Not importing css’ is closed to new replies.