Why is my custom CSS code not working in the Dawn 8.0 theme?

Can you help? – I wanted to add the following code to the custom CSS section in my theme admin (I am using Dawn 8.0):

.product_description li::before {
    content: "\2713";
}

I have some more CSS code besides this which works perfectly fine; just as soon as I add the code above, the theme refuses to save the changes; also, the styles are – naturally – never applied.

I did not try to add this CSS code by editing any code files. Editing code files is exactly what I try to avoid.

I add this CSS code via the new “custom CSS” function in the theme admin where I can add CSS code to a section specifically.

Thank you in advance.

Hi @Patrick33

As this is pseudo class css so may be not support from editor,

you can add in css file direct

add in Asset->base.css file at bottom

Best regard

Oh, looks like this setting is extra picky …

One option to try is to add a “Custom liquid” section and put it like this:


This session seems to be less fussy.

Also (though not a reason for your problem), shouldn’t it be double underscore in product__description?

1 Like

@Patrick33
add code in theme.liquid file before closing


Ok, thank you!

Thank you, Tim. That’s a great idea.