Jump to content

Custom fonts appear differently on mobile view vs actual mobile

Go to solution Solved by Ziggy,

Recommended Posts

I have created a custom font on my site, which also has a proper version for the italic (code below). It is appearing correctly on the mobile view on my site, but when on the actual mobile site, it seems to be italicised further, or is just not appearing correctly at all. Any help would be greatly appreciated. There are multiple instances of this throughout the site

//Heading One Font// 
h1 { font-family: 'Mont Heavy', alternative-web-safe-font; } 

//Heading One Font// 
h1 em { font-family: 'Mont Heavy Italic', alternative-web-safe-font; } 

 

Screenshot 2024-09-03 at 14.44.51.png

IMG_3216.PNG

Link to comment
  • Solution

Try adding this to the italic font styling to remove the pseudo-italic that is being added:

font-style: normal;

So like this:

//Heading One Font// 
h1 { 
  font-family: 'Mont Heavy', alternative-web-safe-font; 
} 

//Heading One Font// 
h1 em { 
  font-family: 'Mont Heavy Italic', alternative-web-safe-font;
  font-style: normal;
} 

 

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) 
 🖼️ Gallery Lightbox 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.