Why does WordPress filter my CSS3 code?
-
I can’t use the following code in my custom css:
@font-face {font-family: ‘fairy’; src: url(‘http://gw2hunforum.solitus.hu/fonts/fairydustb.woff’) format(‘woff’), url(‘http://gw2hunforum.solitus.hu/fonts/fairydustb.ttf’) format(‘truetype’);
when I save it, I get the following code:
@font-face {font-family: ‘fairy’}
Plz fix it! It’s a little flustrating…
Ty-
Blog url: http://guildwars2hu.wordpress.com/ -
This is happening because the code filter application we run currently doesn’t support most CSS3 rules. We’re aware of this and are keeping it in mind to improve but for now there isn’t a way to use media queries, font-face, or other CSS3 rules.
-
- The topic ‘Why does WordPress filter my CSS3 code?’ is closed to new replies.