Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Syntax error



I keep getting a syntax error on line 2, as I'm trying to upload a custom font. I've done this before without a hitch. Been staring at this, and retyping, for over an hour now. What am I missing? Hive mind, please help 🙂


@font-face {
   font-family: ‘Neutra-Display-Drafting32092’;

Link to comment

1 answer to this question

Recommended Posts

  • 0

First you upload the actual font file in Custom Css, link/button located at  the bottom of the CSS window

then add the name where it says name of the font and the url of the actual file in Custom file in the font url  ()  in this bit of code. The Url of the font will show at the top of the CSS window when you click on the file name, copy and past no need to save the changes in the window. 

@font-face {    
font-family: 'NAME';       
src: url('FONT URL');  }

Here is screen shot of a working bit of custom font css code. Note space between family: and 'MANHATTAN' 


...then give the font a name and add in the URL.

Edited by derricksrandomviews
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...