michael.dabbs Posted July 27, 2022 Share Posted July 27, 2022 Site URL: https://wedge-sealion-b28m.squarespace.com/ I have attempted to install the font Fraunces on a site I am testing. I did this by adding some code in the Custom CSS block and it works some of the time. It shows correctly in headlines but I cannot get it to show up in paragraphs. Similarly it shows up correctly in chrome but not in safari. The code I used, noted below, was placed in the custom CSS panel although I see some folks suggesting it is better in "managing custom files" tab. @import url('https://fonts.googleapis.com/css?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400;1,9..144,500&display=swap'); @font-face{font-family: 'Fraunces', serif;} h1, p1 {font-family: 'Fraunces', serif;} I am not 100% sure I was able to grab the correct information from the import section of google, primarily because the interface of google fonts has changed quite a bit since most of the online tutorials I could find. I suspect this could also be complicated by the variable nature of the fonts. The password to get into the site is: pirate Any advice would be appreciated. Thanks in advance. Link to comment
tuanphan Posted July 28, 2022 Share Posted July 28, 2022 Can you share link to this font on Google Font site? I see some similar problem on forum & I usually recommend to add <link rel code to Code Injection. 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
michael.dabbs Posted July 28, 2022 Author Share Posted July 28, 2022 Hello tuanphan! Thanks for the assist. Is this what you are asking for? https://fonts.google.com/?query=fraunces Link to comment
tuanphan Posted July 30, 2022 Share Posted July 30, 2022 On 7/28/2022 at 9:06 PM, michael.dabbs said: Hello tuanphan! Thanks for the assist. Is this what you are asking for? https://fonts.google.com/?query=fraunces remove @import code & add this code to Settings > Advanced > 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=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400;1,9..144,500&family=Koulen&display=swap" rel="stylesheet"> then add this to Design > Custom CSS h1, p.sqsrte-large { font-family: 'Fraunces', serif; font-family: 'Koulen', cursive; } 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment