Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
This is the code I have been trying to use this is my website, shopmoissanice.store
.card__media {
filter: drop-shadow(0px 0px 29px #FFFFFF);
}
whenever I try to save the code it says
"Online Store editor session can't be published"
I'm new and really need help!
Thanks.
Solved! Go to the solution
This is an accepted solution.
Hey @Moissanice
Instead of adding it in theme customization, you can instead do this.
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>
.card__media {
filter: drop-shadow(0px 0px 29px #FFFFFF) !important;
}
</style>
If I managed to solve your problem then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hey @Moissanice
Instead of adding it in theme customization, you can instead do this.
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>
.card__media {
filter: drop-shadow(0px 0px 29px #FFFFFF) !important;
}
</style>
If I managed to solve your problem then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This worked thank you so much, I really appreciate it, i've been trying for hours now!
Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
You need to check where you add this css? You have to paste this code in the end of base.css or theme.css file.
If possible could you please share the ScreenShot so that I take a look.
Thanks
I was adding it to custom css
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025