Why does WordPress filter my CSS3 code?

  • Author
    Posts
  • #636335

    fubenalvo
    Member

    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/

    #636543

    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.

    #636622

    fubenalvo
    Member

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

    have a nice day~ :)

The topic ‘Why does WordPress filter my CSS3 code?’ is closed to new replies.