laesquinafeliz Posted June 22, 2021 Share Posted June 22, 2021 (edited) Site URL: https://www.saramendoza.co/quiz-margin Hi, I'm using custom webfonts for my website. The ones that are from Adobe Fonts are working perfectly, but the ones that I manually uploaded are not working at all 😞 There are 2 images attached, one shows where I uploaded the fonts to the site and the other shows custom CSS in the specific pages where I'm using those fonts, as they're not for the whole site. I would really appreciate your help. Kindly, Sara. Edited June 22, 2021 by laesquinafeliz Link to comment
sorca_marian Posted June 22, 2021 Share Posted June 22, 2021 (edited) Hi, Try to put the URLs in quotes(""). The url does not work: https://www.saramendoza.co/quiz-elegante-fashionista Edited June 22, 2021 by sorca_marian Contact me for development work - I’m a Freelancer Software engineer and architect Squarespace Tutorials for free - YouTube📹 Manage Tasks & Notes Easily Squarespace Custom Web Development & Design 😀 Message me if you need custom features or a new website created  Link to comment
laesquinafeliz Posted June 22, 2021 Author Share Posted June 22, 2021 Sorry, I edited it to find a temporary solution while I can I use my custom webfont. Here's the current URL:  https://www.saramendoza.co/quiz-margin Thanks a lot 🙂 Link to comment
sorca_marian Posted June 22, 2021 Share Posted June 22, 2021 Can you send the URLs of the webfonts so I can try to add them? Or better, paste both code sections from above so it works faster to make changes  Contact me for development work - I’m a Freelancer Software engineer and architect Squarespace Tutorials for free - YouTube📹 Manage Tasks & Notes Easily Squarespace Custom Web Development & Design 😀 Message me if you need custom features or a new website created  Link to comment
laesquinafeliz Posted June 22, 2021 Author Share Posted June 22, 2021 Sure, here they are: https://static1.squarespace.com/static/605809d9a59404695757ccb0/t/60ce54ec3838956a5acaa99e/1624134892867/Margin+OTF.otfhttps://static1.squarespace.com/static/605809d9a59404695757ccb0/t/60ce54ec3838956a5acaa99e/1624134892867/Margin+OTF.otf https://static1.squarespace.com/static/605809d9a59404695757ccb0/t/60ce54f374264b4f47f9ce93/1624134899616/Margin+WOFF.woffhttps://static1.squarespace.com/static/605809d9a59404695757ccb0/t/60ce54f374264b4f47f9ce93/1624134899616/Margin+WOFF.woff Link to comment
sorca_marian Posted June 22, 2021 Share Posted June 22, 2021 (edited) Now I noticed the problem. The URLs are incorrect and added twice. Instead of https://static1.squarespace.com/static/605809d9a59404695757ccb0/t/60ce54ec3838956a5acaa99e/1624134892867/Margin+OTF.otfhttps://static1.squarespace.com/static/605809d9a59404695757ccb0/t/60ce54ec3838956a5acaa99e/1624134892867/Margin+OTF.otf Tryhttps://static1.squarespace.com/static/605809d9a59404695757ccb0/t/60ce54ec3838956a5acaa99e/1624134892867/Margin+OTF.otf  Follow this syntax: https://www.w3schools.com/cssref/css3_pr_font-face_rule.asp @font-face { font-family : 'Family'; font-style : normal; src: url('../fonts/Family-Book.otf'); font-weight: 400; }  @font-face { font-family : 'Family'; font-style : normal; src: url('../fonts/Family-Demi.otf'); font-weight: 500; }  @font-face { font-family : 'Family'; font-style : normal; src: url('../fonts/Family-Bold.otf'); font-weight: 700; } Edited June 22, 2021 by sorca_marian Contact me for development work - I’m a Freelancer Software engineer and architect Squarespace Tutorials for free - YouTube📹 Manage Tasks & Notes Easily Squarespace Custom Web Development & Design 😀 Message me if you need custom features or a new website created  Link to comment
laesquinafeliz Posted June 22, 2021 Author Share Posted June 22, 2021 Oh, I didn't see that... It worked on phones but not on pc browsers ðŸ˜ðŸ˜ðŸ˜ Attaching screenshots. Thanks again Link to comment
tuanphan Posted June 24, 2021 Share Posted June 24, 2021 Edit 640px in this code @media only screen and (max-width: 640px) { body,h1,h2,h3,h4 { word-wrap:normal; -webkit-hyphens: none; -moz-hyphens: none; hyphens: none } @font-face { font-family: 'Margin'; src: url(https://static1.squarespace.com/static/605809d9a59404695757ccb0/t/60ce54ec3838956a5acaa99e/1624134892867/Margin+OTF.otf),url(https://static1.squarespace.com/static/605809d9a59404695757ccb0/t/60ce54f374264b4f47f9ce93/1624134899616/Margin+WOFF.woff) } } to 9640px  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
sorca_marian Posted June 24, 2021 Share Posted June 24, 2021 Add the code without @media to apply the code on all screens tuanphan 1 Contact me for development work - I’m a Freelancer Software engineer and architect Squarespace Tutorials for free - YouTube📹 Manage Tasks & Notes Easily Squarespace Custom Web Development & Design 😀 Message me if you need custom features or a new website created  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