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
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024