Is there anything specail you have to do in Umbraco for the @import to work in a CSS sheet? Does not seem to be working if I do something like
@import url("myOtherSheet.css");
The CSS sheets are all in the same folder, so that should work, right? or am I missing something in Umbraco that needs to be set to use @import in the CSS sheet.
Yeh, sorry I just read the rules for using @import. Has to be used first and can't be used in a style sheet after any rules. Just going to get rid of this.
CSS and @import in Umbraco
Is there anything specail you have to do in Umbraco for the @import to work in a CSS sheet? Does not seem to be working if I do something like
@import url("myOtherSheet.css");
The CSS sheets are all in the same folder, so that should work, right? or am I missing something in Umbraco that needs to be set to use @import in the CSS sheet.
Hi Carlos,
There shouldn't be anything umbraco-specific at play here, as CSS are just flat files.
You might try using the full path, ie: @import url("/css/myOtherSheet.css")
-Tom
Yeh, sorry I just read the rules for using @import. Has to be used first and can't be used in a style sheet after any rules. Just going to get rid of this.
is working on a reply...