Jump to content

Different font showing up on mobile (CTA)

Recommended Posts

Site URL: https://www.studioheavenly.com

Hello,

 

I am having a problem with the CTA buttons. Different fonts are showing on mobile version and screen version. When I look at in a mobile version mode on my computer the font looks great, but it is different when I actually look at my website on my own phone. I tried everything, really looked closely at my custom css but there is nothing. The font I want is commuters sans. Thank you for looking into it.

20200426_101132.jpg

Screenshot_20200426-101121_Chrome.jpg

Screenshot 2020-04-26 at 10.14.45.png

Link to comment
  • Replies 13
  • Created
  • Last Reply

Top Posters In This Topic

You mean Inquire button? font commuters sans?

Have you declared @font-face for commuters sans yet?

Did you test on iPhone?

Edited by tuanphan

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

Yes the one for inquire. I didn't declare it.. it's like that for all CTA buttons. The form button is OK. What code should I use to fix it? On my phone and my husband's it's not commuters sans. But when I look at it on my squarespace on my computer (mobile view) I see commuters sans (that's what I want)

Link to comment
6 minutes ago, Kotryna said:

Yes the one for inquire. I didn't declare it.. it's like that for all CTA buttons. The form button is OK. What code should I use to fix it? On my phone and my husband's it's not commuters sans. But when I look at it on my squarespace on my computer (mobile view) I see commuters sans (that's what I want)

communters sans is Squarespace default font or custom font? If custom font, you need to declare with @font-face, same as other custom fonts.

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
  • 2 years later...

@tuanphan I'm having this issue with a non-squarespace font that I have uploaded to the custom css editor, and declared the @font-face for. Any idea what could be causing this?

It works as it should on desktop. I'm looking at the site on mobile - guidingbrands.com

This is the code I added to the custom css editor

@font-face {
font-family: NoirPro-Bold;
src: url(https://static1.squarespace.com/static/617749b1dca61a7f6f704c7e/t/620dd0936fd05d47bb096908/1645072531558/NoirPro-Regular.eot);
}

@font-face {
font-family: NoirPro-Regular;
src: url(https://static1.squarespace.com/static/617749b1dca61a7f6f704c7e/t/620dd0936fd05d47bb096908/1645072531558/NoirPro-Regular.eot);
}

h1,h2, h3 {font-family: NoirPro-Bold;}

/* p1 */
p.sqsrte-large {
    font-family: NoirPro-Regular;
}
/* p2 */
p {
    font-family: NoirPro-Regular;
}
/* p3 */
p.sqsrte-small {
    font-family: NoirPro-Regular;
}

 

 

Karen Vick
Chief Guide @ Guiding Brands
954-892-5519  |  www.guidingbrands.com  |  karen@guidingbrands.com
Take 15-minutes with Karen |  Guiding Brands Podcast
LinkedIn
 

Link to comment
1 hour ago, kvick said:

@tuanphan I'm having this issue with a non-squarespace font that I have uploaded to the custom css editor, and declared the @font-face for. Any idea what could be causing this?

It works as it should on desktop. I'm looking at the site on mobile - guidingbrands.com

This is the code I added to the custom css editor

@font-face {
font-family: NoirPro-Bold;
src: url(https://static1.squarespace.com/static/617749b1dca61a7f6f704c7e/t/620dd0936fd05d47bb096908/1645072531558/NoirPro-Regular.eot);
}

@font-face {
font-family: NoirPro-Regular;
src: url(https://static1.squarespace.com/static/617749b1dca61a7f6f704c7e/t/620dd0936fd05d47bb096908/1645072531558/NoirPro-Regular.eot);
}

h1,h2, h3 {font-family: NoirPro-Bold;}

/* p1 */
p.sqsrte-large {
    font-family: NoirPro-Regular;
}
/* p2 */
p {
    font-family: NoirPro-Regular;
}
/* p3 */
p.sqsrte-small {
    font-family: NoirPro-Regular;
}

2 font face code are the same, they conflict so h1, h2, h3 didn't work

With 2 font Regular & Bold, you need to declare 2 different font file.

Also, do you have any other format? eg ttf, woff, woff2,..?

EOT works on MS Edge only. See detail (scroll down to bottom): https://www.w3schools.com/cssref/css3_pr_font-face_rule.asp

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
  • 10 months later...
Posted (edited)

@tuanphan I seem to also be having the same issue with a non-squarespace font. I am trying to use Impact, Baskerville regular and Baskerville Italic. It works great on my desktop site, however the fonts appear to not be the same on my actual mobile site. I am not sure at all how to work this.

this is how it looks on my desktop

image.thumb.png.888f456c186ecd9b7d4d7e47bf5fc043.png

Screenshot_20230501-195619_Chrome.thumb.jpg.6334ed654601e2c845f5b3e0e251d274.jpg

Screenshot_20230501-195627_Chrome.thumb.jpg.2a145b95da1149c114ae120bae5a4e65.jpg

 

the code I used for my fonts:

@font-face {
  font-family:'Impact'
src('https://static1.squarespace.com/static/643f9fb697e2353e05a470a7/t/644fe84b0d1ece6685e72eda/1682958412420/impact.ttf')

@font-face{
font-family: 'Baskerville'
 src('https://static1.squarespace.com/static/643f9fb697e2353e05a470a7/t/644febeaa218b20c9b37718e/1682959339088/BaskervilleItalicBT.ttf')
}
@font-face{
font-family: 'Baskervilleregular'
src('https://static1.squarespace.com/static/643f9fb697e2353e05a470a7/t/644feda643d64003211c4637/1682959782812/Baskerville-Regular.ttf')
}
h1{
  font-family: 'Impact';
  font-weight: 100;
  letter-spacing:0.01em;
  line-height:1.1em

 }

h2{
  font-family: 'Baskerville';
  font-weight: 300;
  font-style: italic;
  text-transform: lowercase;
  letter-spacing: 0.01em;
  line-height: 0.6em;
}

p{
  font-family: 'Baskerville';
}
@h3font: 'Impact'; 
@h3size: 12px; 
@titlefont: 'Impact'; 
@h2size: 25px; 
@psize: 20px;
@h1size: 35px; 

 

I realllllllly look forward to hearing from you

 

Edited by KaitlinRae
Link to comment
On 5/2/2023 at 1:06 AM, KaitlinRae said:

@tuanphan I seem to also be having the same issue with a non-squarespace font. I am trying to use Impact, Baskerville regular and Baskerville Italic. It works great on my desktop site, however the fonts appear to not be the same on my actual mobile site. I am not sure at all how to work this.

this is how it looks on my desktop

image.thumb.png.888f456c186ecd9b7d4d7e47bf5fc043.png

Screenshot_20230501-195619_Chrome.thumb.jpg.6334ed654601e2c845f5b3e0e251d274.jpg

Screenshot_20230501-195627_Chrome.thumb.jpg.2a145b95da1149c114ae120bae5a4e65.jpg

 

the code I used for my fonts:

@font-face {
  font-family:'Impact'
src('https://static1.squarespace.com/static/643f9fb697e2353e05a470a7/t/644fe84b0d1ece6685e72eda/1682958412420/impact.ttf')

@font-face{
font-family: 'Baskerville'
 src('https://static1.squarespace.com/static/643f9fb697e2353e05a470a7/t/644febeaa218b20c9b37718e/1682959339088/BaskervilleItalicBT.ttf')
}
@font-face{
font-family: 'Baskervilleregular'
src('https://static1.squarespace.com/static/643f9fb697e2353e05a470a7/t/644feda643d64003211c4637/1682959782812/Baskerville-Regular.ttf')
}
h1{
  font-family: 'Impact';
  font-weight: 100;
  letter-spacing:0.01em;
  line-height:1.1em

 }

h2{
  font-family: 'Baskerville';
  font-weight: 300;
  font-style: italic;
  text-transform: lowercase;
  letter-spacing: 0.01em;
  line-height: 0.6em;
}

p{
  font-family: 'Baskerville';
}
@h3font: 'Impact'; 
@h3size: 12px; 
@titlefont: 'Impact'; 
@h2size: 25px; 
@psize: 20px;
@h1size: 35px; 

 

I realllllllly look forward to hearing from you

 

What is site url?

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
On 5/3/2023 at 8:41 PM, KaitlinRae said:

Hi,

It is fine on my mobile. Maybe it has error on iOS only

I've found some fonts don't work very well on iOS, the problem may be with the font itself, so you'll need to contact the website/author where you downloaded the font, and see if they can help.

image.thumb.png.913107e5fc419e3bd9807d8d6693c98d.png

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

Hi,

I have the same issue but can't find the problem - www.trami-cosmetic.com/asean

On desktop I use 'Roboto Condensed' but on mobile 'Times New Roman' is displayed. Can someone assist please?

Link to comment
On 5/17/2023 at 12:43 AM, vocatvie said:

Hi,

I have the same issue but can't find the problem - www.trami-cosmetic.com/asean

On desktop I use 'Roboto Condensed' but on mobile 'Times New Roman' is displayed. Can someone assist please?

Roboto Condensed is custom font or SS font or GG Fonts

If custom font/gg fonts, which code did you use? We can check easier

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.