Jump to content

How do I use a custom font for site title in CSS? (Native template)

Recommended Posts

Hi! I'm super new to CSS and coding so please be as thorough as possible. I downloaded a custom font (HelveticaNow) and I have successfully applied it to my headers and body text through CSS. If it's relevant, the template I am using is Native. Here is what has worked for me as far as body text goes:

  1. @font-face {
  2. font-family: 'HELVETICANOW';
  3. src: url('https://static1.squarespace.com/static/5d6c2d758a0acc000187f3f5/t/5d795050146faa22dd3e6e24/1568231504475/HelveticaNowDisplayXBlk.otf');
  4. }
  5. p {font-family: 'helveticanow';}
  6. font-size: 14px;

I've also gotten the headers to work using a nearly identical code (just putting h1, h2, h3, etc., in place of the p on line 6).

My trouble now comes with trying to apply this to the site title. I've looked at numerous Q&A's and videos but nothing has worked for me. I also have yet to attempt adding a custom font to the navigation bar, though I would also like to eventually do that aswell; if someone could include the coding for the navigation bar in addition to the site title, that would be awesome. Thanks!

(p.s.) Since I am so incredibly new to CSS, I would greatly appreciate a simple copy-and-paste solution, if possible :)

Link to comment
  • Replies 3
  • Views 3.4k
  • Created
  • Last Reply


/* Custom Font - Site Title */
.site-title span {
   font-family: 'HELVETICANOW' !important;
/* Custom Font - Header Main Navigation */
.main-nav * {
   font-family: 'HELVETICANOW' !important;

Reference: https://beaverhero.com/native-squarespace/

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


This topic is now archived and is closed to further replies.

This topic is now closed to further replies.
  • 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.