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
  • 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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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

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

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.