Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am trying to minifying shopify css files , all most in all blogs/forums they provide one solution by renaming the file xxx.css to xxx.scss.liquid. I followed their steps but still don't get any result .
below is my snippet ,
First step rename file to. featured-magazine.scss.css;
2nd step is import
but still my css file is not minifying
what thing i am missing ? or is there any limitation in shopify?
Hi @khairali
First you minify the css by online tool and copy the css. create a new file for minifid css and paste the minified css here then rename the file name in theme.liquid file.
Thanks
Yep, since Shopify depreciated SCSS, this solution does not work anymore.
You can try solution from this thread:
https://community.shopify.com/c/Technical-Q-A/Tool-to-minify-css-liquid/m-p/1122310
also, looks like Shopify will support minification out of the box, as per
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024