Jump to content

Using Custom Font in York Template

Recommended Posts

Site URL: http://jonhalldesigns.com

Hey everyone!

I'm trying to use Univers Ultra Condensed for my site. This is my first journey into using custom CSS. I found code(s) to use but they aren't showing:

@font-face {
font-family: Univers UltraC;
src: url(https://static1.squarespace.com/static/58f012b315d5db893a71c3fa/t/631f3e44848110240d4fedf5/1662991940904/UniversLTStd-UltraCn.otf);
}

h1 {
font-family: 'Univers UltraC';
}

.sqsrte-large {
font-family: 'Univers UltraC';
}

// Site Navigation //
.header-nav-item a {
  font-family: Univers UltraC !important;
}

Any help on getting them to show or directing me to a Univers Ultra Condensed equivalent that's already available in Squarespace's site editor would be greatly appreciated. 🙂

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Try this new CSS

@font-face {
    font-family: 'Univers UltraC';
    src: url(https://static1.squarespace.com/static/58f012b315d5db893a71c3fa/t/631f3e44848110240d4fedf5/1662991940904/UniversLTStd-UltraCn.otf);
}

h1, p.sqsrte-large, header#header * {
    font-family: 'Univers UltraC' !important;
}

 

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.