Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

CSS @import Not Working

Charisma Riley
Contributor
September 27, 2018

I'm not sure if anyone else is experiencing this, but for me (and we are only using the default template with no other styling that cascade over the docs I'm working on) the command:

@import url("navigation.css"); 

 is not working when placed in the the style macro for the page.

Any thoughts?

Thanks! 

1 answer

1 accepted

0 votes
Answer accepted
Charisma Riley
Contributor
September 27, 2018

Okay so this doesn't make much sense, but it works if you use the IMPORT inside the STYLE macro's properties, only. I'm guessing this also means I will need to put a single import in multiple STYLE macros. So weird. 

Charisma Riley
Contributor
February 27, 2019

That ended up breaking, too. Which is when I found out all the stylization macros were being deprecated and that @import not working was a known issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events