Jump to content

Add Custom Font File. When I publish the site, the font then displays a different font (viewing as a user)

Recommended Posts

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
  • Replies 2
  • Views 143
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 picker form field)
💫 Gallery block 7.1 workaround
🥳 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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.