im trying to not to use the icons libraries for performance, so i decided to add a checkmark with before pseudo element.
the problem is that i add the code in css and save it and reload the builder page and removes the “” backslash character from code and displays only the numbers and also happens on the preview page and main page, and one more thing is not displaying is that same color as the text. this was done using the icon list element in bricks builder.
Sure,
deselect (or remove) the class (.cityNameList) so you’re styling on the ID and then add the following custom CSS to the icon list element (Style » CSS):
Hey Luis,
Did you remove the class and style on the ID instead? As mentioned before, that works for me.
Alternatively, you can keep the class and add a second backslash - this won’t work in the builder, but it will work in the frontend. However, once the problem is fixed, this will result in the icon not being displayed. Therefore the first variant is preferable.