FROM CACHE - en_header

Section stylesheet modification not working

DavidPikka
New Member
1 0 1

Hello,

I must do a modification in the stylesheet part of a section. Shopify won't update the resulting css injected in the header.

What can I do to trigger the update ?

My flow :

- I made a modification in the section.liquid file, inside the {% stylesheet 'scss' %} part of the file

- As I work in my local IDE, I use themekit to deploy the theme to shopify

- When I try to preview the theme from the shopify admin, the new scss modifications in the section file are not injected in the theme.css

 

This happens on a unpublished theme.

If anyone can explain what can trigger the rebuilding of the theme css, thanks by advance.

Replies 2 (2)
dominatrm
New Member
1 0 2

For anyone finding this, opening the file in the shopify code editor, editing and saving it did the trick for me.

sillycube
Shopify Partner
701 16 106

Hey @dominatrm 

You saved my life! But I just don't know what the hell is going on. Look like the Shopify bundling tool is not working well for the css code {% stylesheet %} or {% javascript %} in sections

BYOB - Build Your Own Bundles, SPO - SEO App to research keywords & edit social link preview