Users are encountering an error when attempting to save CSS filter properties (e.g., filter: brightness(75%)) in Shopify’s theme editor Custom CSS section. The editor preview displays the effect correctly, but publishing fails with an “Online Store editor session can’t be published” error.
Proposed workarounds:
Use decimal values instead of percentages: filter: brightness(0.5);
Apply the vendor prefix: -webkit-filter: brightness(50%);
Limitations:
The -webkit-filter workaround has limited browser support
Status:
Multiple users have requested official guidance from Shopify staff
No official response or permanent solution has been provided yet
The issue remains unresolved
Summarized with AI on October 27.
AI used: claude-sonnet-4-5-20250929.
Adding something like “filter: brightness(75%);” to the “Custom CSS” of a “Section”, in the “Customize” theme window, results in a popup stating “Online Store editor session can’t be published”. The editor window reduces the brightness as expected, but the save fails.
Is this a bug or expected behaviour? Is there a solution to saving the theme with the “filter” CSS directive?
“-webkit” is not “all” browser a webkit based browser did you research the CSS rule etc… regarldess:
This thread is about Custom-css settings and what that supports.
NOT about everything anything that happens on the internet due to cross-browser compatibilityissues for browser specific suffixes.