artstein Posted August 20, 2019 Share Posted August 20, 2019 Hello, I have added a custom font to my website through CSS - it works on desktop but on mobile the font won't load although i put the codes for mobile also p>{font-family:'Reforma1969-Blanca'} @media screen and (max-width: 640px) { p {font-family:'Reforma1969-Blanca'}} These are the codes that i have used. Any suggestions? Link to comment
tuanphan Posted August 20, 2019 Share Posted August 20, 2019 @artstein @media screen and (max-width: 640px) { p { font-family:'Reforma1969-Blanca' !important; } } If it doesn't work, please share site url to check. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
artstein Posted August 20, 2019 Author Share Posted August 20, 2019 It doesn't work still - the websites url is www.artstein.co.uk Link to comment
tuanphan Posted August 20, 2019 Share Posted August 20, 2019 @artstein Which elements did you use the font? Are you sure that font worked on Desktop? Have you declared this in CSS yet? @font-face { font-family: 'Reforma1969-Blanca'; src: url(font-url); } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
tuanphan Posted August 20, 2019 Share Posted August 20, 2019 @artstein Which elements did you use the font? Are you sure that font worked on Desktop? Have you declared this in CSS yet? @font-face { font-family: 'Reforma1969-Blanca'; src: url(font-url); } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
artstein Posted August 21, 2019 Author Share Posted August 21, 2019 @tuanphan Yes I actually went over all those in CSS to make sure they were correctly declared. From the laptop that I'm working on - every font is displayed fine. But from mobile still, the h3 and body text is not reflected on but other h2 or h5 that i have created with same fonts can be seen. Very strange. Also im checking from another desktop and in there the body text is not reflected but the rest is okay... I was going to suggest that maybe it relates to that i have the fonts installed on my laptop but then i wouldn't be able to see other headlines that i have created also.. maybe there is another term for p or body for Rally template.. I'm very confused :)) p>{font-family:'Reforma2018-Blanca'}h3 {font-family: 'Reforma1918-Negra'; font-size: 34px; font-weight: 400;} @media screen and (max-width: 640px) {p>{font-family:'Reforma2018-Blanca' !important;}} @media screen and (max-width: 640px) {h3 {font-family: 'Reforma1918-Negra' !important;}} Link to comment
sandracheesman Posted June 11, 2020 Share Posted June 11, 2020 @tuanphan Hi, I have a similar issue on a Brine template with the Grid Gallery caption on my site, in that the font is actually a Squarespace font, and it shows correctly when I use the mobile screen checking facility provided by Squarespace, but when I check on my mobile (Chrome) it does not show. I have styled the Grid Gallery caption by using the following CSS: .sqs-gallery-block-grid .slide .margin-wrapper .image-slide-title { font-family: "Charlemagne Std", Times, serif!important; text-transform: uppercase!important; font-size: 25px!important; color:#6c777f!important; } The media query I used is as follows: //style font on Grid images// @media screen and (max-width: 640px) { .sqs-gallery-block-grid .image-slide-title { font-family: "Charlemagne Std", Times, serifimportant; text-transform: uppercase!important; font-size: 25px!important; color:#6c777f!important; }} Site name: https://turbot-armadillo-ja5c.squarespace.com/ p/word: SandraCB Any ideas? Thank you! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.