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
版权声明:本文标题:why I could not use <svg> data in WordPress additional css part 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736734048a1950152.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论