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) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment