FROM CACHE - fr_header
Cette communauté a fait place à une assistance de pair-à-pair. L’assistance Shopify ne sera plus proposée pour cette communauté. Nous vous encourageons à entrer en contact avec d’autres marchands et partenaires pour obtenir de l’aide et partager vos expériences ! Veuillez continuer à signaler tout ce qui va à l'encontre de notre Code de conduite ou tout contenu que vous souhaitez faire supprimer.

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

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

marki-digital
Shopify Partner
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