My customer is using the blockshop theme. I have gone into edit code but there is no Assets / theme.scss.liquid. There is a file called theme–critical.css.liquid and a file called theme–async.css.liquid. I tried inputting the css to change the background on both files. Nothing. Does any know where to change it? I’m pretty good at shopify but this has me puzzled.
Thank you!
Kevin
Hi @kloader ,
I have checked and you just need to add the code at the bottom of the file ‘theme–critical.css’ it will work fine.
Hope it helps!
@kloader you don’t want to edit theme or app CSS files, because later if you ever update you could overwrite your customizations.
The best way to add custom CSS is in a new file.
Here’s how I do it:
-
Create an Asset file called custom.css
-
Include that new CSS file in your theme.liquid, underneath all your other CSS files
-
Now any CSS you edit in this file will be loaded after your theme CSS files, allowing you to override any existing CSS
If you want more detailed instructions, this guide will help you: https://speedboostr.com/how-to-safely-edit-your-shopify-theme