Adding custom fonts on Squarespace

This tutorial will show you how to add custom fonts on Squarespace. Adding custom fonts is another way of implementing new creative elements to the design of your site away from the custom Squarespace template provided.

Complexity: Easy


Step 1

Start by copying and pasting the code below into your Custom CSS. This can be found under Design > Custom CSS

// CUSTOM FONT @font-face {font-family: ''; src: url('FONT_URL');}
custom-font-1.jpg

Step 2

At the bottom of the CSS window, there is the ‘Manage Custom Files’ button, click this and upload your font file.

custom-font-2.jpg

Step 3

Within the first set of quotation marks (after “font-family:”) enter the name or your font. For this example, font-family will be ‘AGRANDIR‘.

Next, click between the second set of quotation marks with “Font_URL“, delete the Font_URL, and then click on the file you uploaded as you should have something like what is shown below.

// CUSTOM FONT @font-face { font-family: 'AGRANDIR'; src: url(https://static1.squarespace.com/static/612bccdb4de1dd083a568c34/t/61327d461f2c2a0dc42c1122/1630698822874/Agrandir-Grand.otf); }

Step 4

With your font ready, you can now assign it to specific text classes to be able to view them on your website.

In this example, you will replace ‘FONT-NAME’ with ‘AGRANDIR‘.

// ****HEADINGS**** // Heading 1 h1 {font-family: ’FONT-NAME’;} // Heading 2 h2 {font-family: ’FONT-NAME’;} // Heading 3 h3 {font-family: ’FONT-NAME’;} // Heading 4 (only applicable for Squarespace 7.1) h4 {font-family: ’FONT-NAME’;} // ****PARAGRAPHS**** // paragraphs p {font-family: ’FONT-NAME’;} // large paragraphs .sqsrte-large {font-family: ’FONT-NAME’;} // small paragraphs .sqsrte-small {font-family: ’FONT-NAME’;} // ****IMAGE BLOCK TITLES**** // poster image block titles body:not(.image-block-poster-dynamic-font-sizing) .sqs-block-image .design-layout-poster .image-title p {font-family: ’FONT-NAME’;} // card image block titles body:not(.image-block-card-dynamic-font-sizing) .sqs-block-image .design-layout-card .image-title p {font-family: ’FONT-NAME’;} // collage image block titles body:not(.image-block-collage-dynamic-font-sizing) .sqs-block-image .design-layout-collage .image-title p {font-family: ’FONT-NAME’;} // overlap image block titles body:not(.image-block-overlap-dynamic-font-sizing) .sqs-block-image .design-layout-overlap .image-title p {font-family: ’FONT-NAME’;} // stack image block titles body:not(.image-block-stack-dynamic-font-sizing) .sqs-block-image .design-layout-stack .image-title p {font-family: ’FONT-NAME’;} // ALL image block titles body:not(.image-block-card-dynamic-font-sizing) .image-title p {font-family: ’FONT-NAME’;} // [To target the subtitle, simplay change.image-titleto.image-subtitle’.]

Step 5

Repeat steps 1 and 2 to add more custom fonts. Please note for SEO efficiency, it is better to have a maximum of 2 custom fonts.


If you have any questions or need any help with your Squarespace website design, you can book a 1:1 consultation.


All work in this guide is provided ‘as-is’. Other than as provided this guide makes no other warranties, expressed or implied, and hereby disclaims all implied warranties, including any warranty of fitness for a particular purpose.

If you require professional advice, you can book our consultation services.

Primitus Consultancy

We work with small and medium-sized businesses to help create a professional online presence. We provide a one shop full-service design studio in London, United Kingdom. 

https://primitusconsultancy.co.uk
Previous
Previous

How to add a different logo on other pages on Squarespace 7.1.

Next
Next

Replacing Social Icons in the Header on Squarespace 7.1