Need help? Check out our Support site, then

Why does WordPress filter my CSS3 code?

  1. I can't use the following code in my custom css:

    @font-face {font-family: 'fairy'; src: url('') format('woff'), url('') format('truetype');

    when I save it, I get the following code:

    @font-face {font-family: 'fairy'}

    Plz fix it! It's a little flustrating...

    Blog url:

  2. 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.

  3. ty for the quick reply
    I hope it will be supported soon!

    have a nice day~ :)

Topic Closed

This topic has been closed to new replies.

About this Topic