Shopify themes, liquid, logos, and UX
Hi,
I am trying to change these boxes to greyscale and have them re-colour on hover.
Any help would be greatly appreciated.
Hey @isSalon
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
ul.grid.gap-1.md\:auto-rows-fr.grid-cols-2.md\:grid-cols-4.list-style-none li:hover {
filter: grayscale(0) !important;
}
ul.grid.gap-1.md\:auto-rows-fr.grid-cols-2.md\:grid-cols-4.list-style-none li {
filter: grayscale() !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025