Kotryna Posted April 26, 2020 Share Posted April 26, 2020 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. Link to comment
tuanphan Posted April 26, 2020 Share Posted April 26, 2020 (edited) You mean Inquire button? font commuters sans? Have you declared @font-face for commuters sans yet? Did you test on iPhone? Edited April 26, 2020 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
Kotryna Posted April 26, 2020 Author Share Posted April 26, 2020 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
tuanphan Posted April 26, 2020 Share Posted April 26, 2020 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
Kotryna Posted April 26, 2020 Author Share Posted April 26, 2020 Thanks, I added it and I fixed it! It is a squarespace font, but I was using it on custom css. I guess that's why it didn't work until I assigned it. Link to comment
GuidingBrands Posted June 22, 2022 Share Posted June 22, 2022 @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 VickChief Guide @ Guiding Brands 954-892-5519 | www.guidingbrands.com | karen@guidingbrands.comTake 15-minutes with Karen | Guiding Brands PodcastLinkedIn Link to comment
tuanphan Posted June 22, 2022 Share Posted June 22, 2022 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
GuidingBrands Posted June 22, 2022 Share Posted June 22, 2022 Thank you @tuanphan! Good catch on the duplication! I guess I was looking at this so much I missed it 🙂 And thanks for the MS Edge tip. It works well now. K Karen VickChief Guide @ Guiding Brands 954-892-5519 | www.guidingbrands.com | karen@guidingbrands.comTake 15-minutes with Karen | Guiding Brands PodcastLinkedIn Link to comment
KaitlinRae Posted May 1 Share Posted May 1 (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 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 May 1 by KaitlinRae Link to comment
tuanphan Posted May 3 Share Posted May 3 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 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
KaitlinRae Posted May 3 Share Posted May 3 @tuanphan it is https://cowbell-marlin-lxs5.squarespace.com Password : hello Link to comment
tuanphan Posted May 10 Share Posted May 10 On 5/3/2023 at 8:41 PM, KaitlinRae said: @tuanphan it is https://cowbell-marlin-lxs5.squarespace.com Password : hello 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. 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
vocatvie Posted May 16 Share Posted May 16 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
tuanphan Posted May 20 Share Posted May 20 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
vocatvie Posted July 6 Share Posted July 6 Hi, I don't know. Here is the code: #collection-6401034be4a0d60f9a47fc74 { h1 { font-family: 'PS-Aelyn'; font-size: 4em; line-height: 1em; } h2 { font-family: 'PS-Aelyn'; } h3 { font-family: 'Roboto Condensed'; color: #000000 !important; font-size: 1.3em; font-weight: 900; background-color: #ffdfcc; padding-left: 5px; } p { font-family: 'Roboto Condensed'; font-size: 1.3em; font-weight: 100; padding-left: 5px; } .wm-accordion-block button.accordion-toggle .text { font-family: 'PS-Aelyn'; font-size: 2em; } #contact-chat, #contact-call { background-color: #ffdfcc; h1 { font-family: 'linotype-didot'; } p { font-family: 'futura-pt'; font-weight: 400; font-style: normal; font-size: 14px; letter-spacing: .04em; line-height: 1.9em; } .sqs-block-button-element--small { background-color: white; color: #383838; } hr { background-color: white; } } #apply-online { background-color: #c4e9ed; h1 { font-family: 'linotype-didot'; } p { font-family: 'futura-pt'; font-weight: 400; font-style: normal; font-size: 14px; letter-spacing: .04em; line-height: 1.9em; } .sqs-block-button-element--small { background-color: white; color: #383838; } hr { background-color: white; } } } When I disable the code for h3 & p, I have the standard font of SQS which is Futura PT again. Link to comment
vocatvie Posted July 6 Share Posted July 6 Oh I see I just have to declare it as @font-face Thanks! tuanphan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment