CoachMH Posted November 19, 2022 Share Posted November 19, 2022 When I'm editing my site, the custom font displays successfully. When I publish the site + view it as a user, the font displays something different. Only in editing mode, it displays the custom font. I've tried a few codes though nothing is working when viewing the site as a user. Please assist. @font-face { font-family: 'Bruney'; src: url('https://static1.squarespace.com/static/63486c65082abb3700d32738/t/63486c91082abb3700d32fbf/1661645021534/Bruney.ttf') format('truetype'); } h1 { font-family: 'Bruney'; text-transform: none;} Link to comment
Beyondspace Posted November 19, 2022 Share Posted November 19, 2022 54 minutes ago, CoachMH said: When I'm editing my site, the custom font displays successfully. When I publish the site + view it as a user, the font displays something different. Only in editing mode, it displays the custom font. I've tried a few codes though nothing is working when viewing the site as a user. Please assist. @font-face { font-family: 'Bruney'; src: url('https://static1.squarespace.com/static/63486c65082abb3700d32738/t/63486c91082abb3700d32fbf/1661645021534/Bruney.ttf') format('truetype'); } h1 { font-family: 'Bruney'; text-transform: none;} You can try adding the !important to make it as the highest priority h1 { font-family: 'Bruney' !important; text-transform: none; } Hope it makes sense Support me by pressing 👍 or marking as solution if this useful for you BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
tuanphan Posted November 23, 2022 Share Posted November 23, 2022 On 11/19/2022 at 2:09 PM, CoachMH said: When I'm editing my site, the custom font displays successfully. When I publish the site + view it as a user, the font displays something different. Only in editing mode, it displays the custom font. I've tried a few codes though nothing is working when viewing the site as a user. Please assist. @font-face { font-family: 'Bruney'; src: url('https://static1.squarespace.com/static/63486c65082abb3700d32738/t/63486c91082abb3700d32fbf/1661645021534/Bruney.ttf') format('truetype'); } h1 { font-family: 'Bruney'; text-transform: none;} The font file doesn't exist. You can check it again. Also, sometimes, in Trial Plan, uploaded files won't work. 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