Jump to content

mobile font error

Recommended Posts

Hi, my custom font is showing on desktop but not on mobile. I am using it for H3. Here is the code I put it that is working for desktop.

font-face {
font-family: 'belovedjourney';
src: url('https://static1.squarespace.com/static/5bf9f97ef2e6b130dad9cefb/t/64402052ccc2a950dea6c572/1681924178955/Beloved+Journey.otf');
} h3 {
font-family: 'belovedjourney';
}

 

is there something to add for mobile too? thank you

Link to comment
  • Replies 1
  • Views 107
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

You need an @ in front of font-face 

@font-face {
  font-family: 'belovedjourney';
  src: url('https://static1.squarespace.com/static/5bf9f97ef2e6b130dad9cefb/t/64402052ccc2a950dea6c572/1681924178955/Beloved+Journey.otf');
} 
h3 {
  font-family: 'belovedjourney';
}

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

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

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.