FROM CACHE - fr_header

Created a custom.css not working with theme.css.liquid

OLN11
Visiteur
1 0 0

I am using the November theme and try to customize it with few basic (font size, colours, etc..) I added a

@import "custom.cc" in the theme.css.liquid and created  a custom.css in asset but seems not working (nothing change in preview).

 

Could you please give me any advise?

 

Thanks in advance.

OLN11

1 RÉPONSE 1

webbly
Shopify Expert
55 7 8

Hi @OLN11 

 

@import isn't working with Shopify.

You can add a custom.css file in the assets folder and declare it in the theme.liquid file like this :

{{ 'custom.css' | asset_url | stylesheet_tag }}

 

Put this code just after the line :

{{ 'theme.scss.css' | asset_url | stylesheet_tag }}

 

Tell me if it's good for you 🙂

 

Guillaume

 


Guillaume CARON | Expert Shopify | Webbly devient l'Agence marki | agence-marki.fr