I'm working on a Wordpress 3.0 blog and the @import function fails to import. Also, in FF the menu css (at the bottom of the style.css file because of the failure of the @import funciton) is not applied. The menu css is applied in IE, Chrome -- but not FF or Opera . Why not? What's the fix?
Phil
Your questions make little
Your questions make little sense I'm afraid. @import? where? @import is generally only seen in child themes stylesheets that might inherit from parents, Buddypress uses them in the main themes style.css. I do not see any in use in your layout, also it all appears to be reading styles without issue so have you fixed things?
Hugo, I have continued to
Hugo, I have continued to work on the site, but the problem continues. Included in style.css is this rule:
@import url("user.css");
user.css contains a comment and is intended to supercede the code in the style.css. The intention is to make updating of themes easier because user.css contains only my customized code.
You will notice that user.css has not been imported. Why not?
(I manually added the menu2.css rules to the style.css file because menu2.css would not import either.)
The other issues have been resolved, but this one remains.
Phil
PARoss wrote: @import
@import url("user.css");
user.css contains a comment and is intended to supercede the code in the style.css. The intention is to make updating of themes easier because user.css contains only my customized code.
You will notice that user.css has not been imported. Why not?
Likely because you've put quotes around the file name. Try it without the quotes.
The reason I stated confusion
The reason I stated confusion and no apparent sign of @import is that I would NEVER look for an @import rule where they have been placed!!!
And the placement is exactly
And the placement is exactly the problem that I was not aware of. Thanks.