Jump to content

Custom Font CSS not showing up on mobile

Recommended Posts

I've used this code to inject custom css font for mobile and when I preview mobile on my web browser it looks good, but when I use an actual mobile device the font doesn't show up.

Here's the code:

 @media screen and (max-width: 640px) {
  h1, h2, h3, h4, h5, h6, p, span {
    font-family: 'Athletic', sans-serif !important;
  }
}

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

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Have you uploaded and referenced this font in your CSS?

Are you just wanting this font on mobile, not on desktop?

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

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

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.