Jump to content

Google Font not showing on Mobile or Safari

Recommended Posts

Hello,

We have imported fonts from Google however they do not show up on iOS or Android devices. They work fine on Desktop: Chrome, Edge and Firefox but does not work on Safari on macOS. 

Any help would be appreciated as I'm very new to CSS.

 

Site URL: www.commission.global

Code used: 

@import url('https://fonts.googleapis.com/css?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Plus+Jakarta+Sans:wght@700&display=swap');

h1,h2,h3,h4,h5,h6, .sqs-block-button-element, .list-item-content__title{

font-family: 'Plus Jakarta Sans', sans-serif !important; 

  font-weight: 700 !important;

}

.header-menu-nav-item, .header-nav-item {

font-family: 'Plus Jakarta Sans', sans-serif;

  font-weight: 700;

}

body, p, .site-wrapper

{

  font-family: 'Atkinson Hyperlegible', sans-serif; font-weight: 400

}

 

.header {

  background-color: #ffffff !important;

}

 

.header-announcement-bar-wrapper{

  padding-top: 0 !important;

  padding-bottom: 0 !important;

}

.user-items-list-item-container[data-section-id="60f0123d38a0fc3ca9697233"] > li { background: #06424c !important; }

 

.user-items-list-item-container[data-section-id="60f0123d38a0fc3ca9697233"] > li:nth-child(odd) { background: #0d2a46 !important; }

 

.sqs-layout .sqs-row .sqs-block:first-child{

  padding-top: 0px !important;

}

.sqs-block{

  padding-top: 0px !important;

  padding-bottom: 0px !important;

}

 

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Remove @import code

Add this to Code Injection > Header

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.