admin管理员组

文章数量:1129123

I was reading this article to customize the bullet lists (li tags) in my posts in a WordPress website. But when I want to add these CSS codes:

li{
   list-style-image: url('data:image/svg+xml,<svg xmlns="; viewBox="0 0 24 24" fill="%23808"><path d="M18 4c-4-1-6 3-6 3s-2-4-6-3-4 6-2 8l8 8 8-8c2-2 2-7-2-8z"></path></svg>');
}

in my "WordPress" site in the "Additional CSS" sections in "Customizing" part, I get the error Markup is not allowed in CSS. and when I click on publish button, WordPress shows "Unable to save due to 1 invalid setting.". Here is the image of that:

I want to know why this is happening and is there any settings or solution for me to be able to add that CSS codes in my website?

本文标签: why I could not use ltsvggt data in WordPress additional css part