The suggestions given above are obviously useless because we know that we can use CSS files to style the theme but the idea here is to use shopify’s new section ad it doesn’t seem to be working…
EDIT: Shopify support says that you can’t use position: absolute in the custom CSS editor (like at all??) and you also need the selector you are trying to apply be apart of the hardcode, it can’t be a custom liquid section or something like that… Seems like two kind of dumb limitations to me but maybe that will be fixed soon.
In addition the editor is butchering some of my CSS and adding its own stuff in it like it thinks its part of the selector:
I’m also getting the same error and it only happens when I try to make the position absolute in the custom CSS section, which is exactly what I need ONLY for that specific page. If I change it in a asset file it changes the whole website. Any fixes so I can make it absolute?
I’m also having issues but found a workaround to use all the css selectors which aren’t yet supported.
Probably not a recommended solution but it works for me:
Find the page you are trying to modify in Customizer.
Add a Custom Liquid Block at the bottom of the page and set margins to 0 or very small.
In the Custom Liquid block use the tag and enter your custom CSS in between
No more issues.
A good workaround if you’re just trying to edit one page (and you can always create a new template for that page if required). If you need the change across the whole site you could duplicate these steps on every page but it would get pretty repetitive.