@font-face src deleted.

  • Unknown's avatar

    Hi!
    i’m trying to get a custom font using the @font-face attribute in the css section.
    BUT – after previewing and saving it deletes the ‘src’ attribute:

    my code:

    @font-face {
    font-family: 'HelveticaNeueLTStdUltLt';
    src: url('https://static1.squarespace.com/static/5649f3b4e4b057ed5b80e63f/t/564a2e90e4b008b30b4ddb8a/1447702160536/HelveticaNeueLTStd-UltLt.otf');
    }

    But after saving it looks like this:

    @font-face {
    font-family: 'HelveticaNeueLTStdUltLt';
    src: ;
    }

    →Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi, @font-face is not supported at WordPress.com at this time. We can choose from the fonts listed at Appearance > Customize > Fonts. You can choose two fonts, one for headings and one as the base font (typically all non-heading text elements such as the body text).

  • The topic ‘@font-face src deleted.’ is closed to new replies.