What does the error code in my store's theme.scss.liquid mean?

Hi all,

My store has just vanished.. every time i try to go in to customise the store it comes up with this message:

The following error was found in assets/theme.scss.liquid ‘Invalid CSS after “…=============*/”: expected selector or at-rule, was “}@function em($…” at 16’

Does anyone know how i can fix this?? I think my code is messed up. Please help.

Hi there @Sklenica1997 !

Would you be able to share some more info on how exactly this is triggered for you and if any other aspect of your admin or storefront is affected?

Any screenshots or video capture you can share of how this appears in your admin and how it occurred would be really useful!

If this is occurring with just the one theme, would you have edited your theme’s code or added an app that does so at any point?

It would normally be possible to roll back changes to .liquid files in your theme’s code (not CSS files), so let me know if you can access that option in your edit code menu.

The more information you can give us here the better we will be able to understand and help out!