CSS customizer adds an extra '\' char before each '\' on pseudo-elements
-
Something has changed on WordPress.com (yesterday was working perfectly) that now the CSS customizer adds an extra ‘’ char before each ‘’ at the content attribute on pseudo-elements (::before ::after) when is “Saved & Published”.
For example, if I write:
content: "f205";
Is saved as:
content: "\f205";This is a BIG problem on showing special characters, or in my case the Genericons icon font chars which my default theme (Minnow) makes use of.
To display these icons, the content atribute on pseudo-elements (::before ::after) is always a sequence like the following:
“f205”
“f100”
“f435”
…
Now this content is saved as:
“\f205”
“\f100”
…
Which aren’t valid char sequences, so they are not displayed!Please can you solve this issue on the CSS customizer, or is there any trick I can use to solve it? Thanks in advance.
The blog I need help with is: (visible only to logged in users)
-
-
Hi @rojerfarre, this has been reported and the developers are looking into it. As soon as I hear it is fixed, I will report back to you.
-
The developers have fixed this issue and I just verified it on my test site.
To fix this in your custom CSS, open it and then remove the extra backslashes from each occurrence and save.
If you have any issues, please let me know.
-
Hi @thesacredpath and thanks a lot for your quick response.
As you’ve said the issue has already been resolved! Wow I’m really impressed, so fast!
So thank you very much for your work and developers’, you’re really a happiness enginner.I’m changing the status topic to “resolved”.
-
- The topic ‘CSS customizer adds an extra '\' char before each '\' on pseudo-elements’ is closed to new replies.