Jump to content

Custom font will not translate to mobile navigation bar

Recommended Posts

I have tried countless solutions in order to get my custom imported font to appear on my mobile preview - specifically, my mobile navigation menu. For the life of me, I cannot get my mobile menu to show the custom font. Here is the code I reverted back to, after trying countless code combinations found online:

@font-face {
font-family: ChakraPetch-Medium;
src: url(https://static1.squarespace.com/static/64513a4734c55b0aac949cad/t/6451521b6dd392570c03f9a5/1683051035425/ChakraPetch-Medium.ttf)
}
header#header *, h1, h2, h3, p {
    font-family: 'ChakraPetch-Medium';

 

I would simply like this font to be applied to my entire website - mobile navigation menu included. Any help would be very appreciated. Thanks!

Link to comment
  • Replies 7
  • Views 164
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Can you share your website URL?

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

You can try this CSS, though it may apply the font too widely:

* {
  font-family: 'ChakraPetch-Medium';
}

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

Try this Custom CSS:

#mobileNav ul {
  font-family: 'ChakraPetch-Medium' !important;
}
Edited by Ziggy

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.