Forum Discussion

gstelang's avatar
gstelang
Mentor
9 years ago

Include a style which is only available on page load in Studio Editor

Hi, 

 

We have some common styles shared across our site to have consistent look and feel. This CSS is downloaded via CDN and it is only available when our site loads.

 

I want to do something like this in studio editor

 

.lia-link-navigation {

  @include text-info; // text-info class is only available when the page loads and therefore, throws an exception

}

 

Instead of copy pasting the style for text-info inside lia-link-navigation, how can I do this?

  • KaelaC's avatar
    KaelaC
    Lithium Alumni (Retired)
    I don't think you can. The Lithium SASS compilation is happening before your class is available.