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

Syntax error when uploading fonts.

Question

Site URL: http://krandalldesign.com/

Hello! I keep getting a syntax error  on line 1 when uploading fonts (see attached screenshot).

I have been searching for over an hour and cannot sort out what I am doing wrong, I've never coded a website before so I am not 100% sure what to look for.

Anyone able to help?

Thanks!

Screenshot 2020-02-07 at 10.44.55.png

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0

edit to

@font-face {
	font-family: 'Gotham Book';
	src: url(paste font url you uploaded here);
}

 


COVID-19Free priority support for all users (29/03 - 30/04). You can tag me (@tuanphan) or send to my email.

With paid support, see here

 

Share this post


Link to post
  • 0

Hi! Thank you for the response, When I followed your directions it removed the "syntax error" but the font does not show up as an option in the drop-down font list. Do you know why this might be?

Share this post


Link to post
  • 0
1 hour ago, skrandall said:

Hi! Thank you for the response, When I followed your directions it removed the "syntax error" but the font does not show up as an option in the drop-down font list. Do you know why this might be?

No. Custom font won't appear there. You need to use CSS to set font

eg

@font-face {
	font-family: 'Gotham Book';
	src: url(paste font url you uploaded here);
}
h1, h2, h3, h4 {
	font-family: 'Gotham Book';
}

 


COVID-19Free priority support for all users (29/03 - 30/04). You can tag me (@tuanphan) or send to my email.

With paid support, see here

 

Share this post


Link to post
  • 0

I am having a similar issue.  I'm getting a syntax error on Line 3.  Any help is super appreciated!

396866231_ScreenShot2020-02-26at11_28_00AM.png.24ec71fa7cc28774813960b761e3252f.png

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...