Section edits not updating (stylesheet and javascript)

Solved
Highlighted
Shopify Partner
2 1 0

Hello

Recently, editing on sections of a Shopify theme no longer works. The HTML part works and update well, but it is now impossible to edit the javascript and stylesheet part of a section.


In short, when I edit what is between the tags "{{javascript}}" or "{{stylesheet}}", the changes don't appear on the site. I have been working on this theme for several weeks, but this problem has just appeared.

It's strange.

 

(I know that the "update trigger" happens when we edit the HTML... but it's just not working right now.)


Thanks in advance for helping me.

0 Likes
Highlighted
Explorer
79 8 13

You can try use <style>.....</style> and <javascript >.....</javascript>  tags instead.

0 Likes
Highlighted

Success.

Shopify Partner
2 1 0

The problem resolved by itself...

 

I don't know why. If this happens to you, try changing the active theme on your store for another theme. Then come back to your original theme you were working on. This may be the solution.

 

Regardless, the important thing is that it works now. Thanks for the help.

0 Likes