Squarespace provides an abundance of font options, but what if there’s one in particular you want that’s missing?
Custom Adobe fonts can be easy to add once you know how. This tutorial covers both 7.0 and 7.1 (Brine family templates). Furthermore, some basic CSS knowledge is also required.
Create a Web Project
Have you experienced this scenario: Your designer delivers a style guide with beautiful brand fonts only to discover that they don’t appear in Squarespace’s font library? Luckily, there is an easy solution involving just some minor CSS tweaking!
This tutorial will demonstrate how to easily add Adobe Fonts to your website using the Webfonts feature of Site Styles panel – it’s fast, easy, and most importantly it works!
Start by finding the custom font you wish to use; typically an.otf,.ttf or woff file (see screenshot below). Next, check that its license fits with your website use; otherwise check whether there’s an alternative version or the ability to purchase commercial license (if needed). Finally, navigate back into Squarespace dashboard and access Design > Custom CSS section > Scroll to bottom > Manage Custom Files option to manage files on this page.
Once clicked, this opens a window that enables you to upload Adobe font files. When completed, another window appears with an embed code for your font kit – copy this code before proceeding further with your design project.
Return to your Squarespace dashboard, open up Site Styles panel, scroll down Adobe Fonts section and paste in Project ID that was copied from Adobe Fonts web project window. Now, your fonts can begin being used!
Note that custom Adobe Fonts will replace the built-in fonts on your website styles, so if any existing CSS uses these fonts (especially as headings), make sure to update it with the URLs from your Adobe Fonts web project.
Simply add this CSS snippet to your website’s Custom CSS to apply your custom font to all text on it, with headers (h) and paragraphs (p). Alternatively, use cssthead tags with H and P as needed – this allows for targeted applications of font.
Copy the Project ID
Adobe offers a collection of fonts designed specifically for website use that look beautiful on websites; modern and specially suited to the internet, their over 1000 fonts offer great inspiration when creating or refreshing any existing site.
If a font that you love but it isn’t included in Squarespace is missing, don’t fret; adding custom Adobe Fonts is actually quite straightforward and takes just some coding knowledge and expertise to do!
Start by creating a web project in Adobe. This will provide the HTML embed code needed for Squarespace website. When finished creating, make sure to copy down and save its project ID number before copying over.
Once you’ve copied your project ID, log into Squarespace and navigate to Design > Custom CSS. Here, click “Manage Custom Files”, upload.otf and.ttf font files via upload then change your existing CSS code font URLs accordingly to match with these newly uploaded font files.
Use our new CSS snippet to personalize font styles individually, which makes the CSS snippet ideal for changing text on specific blocks of your site – for instance converting paragraph one from lowercase to uppercase text for example. Apply styling specifically on that text using targeted CSS stylings!
To do this, replace the font name within your code snippet with the project ID from Adobe Fonts (in this instance “h1”). Remember to adjust H1 for your preferred heading size before saving and publishing your website. Having altered all three fonts within your snippet, simply save and publish!
Upload the Font Files
Fonts can add a special touch to any website and encourage visitors to explore your products or services further. One easy and effective way of doing this is through changing font styles with CSS code snippets; this guide will show how you can add custom Adobe fonts via Squarespace’s Custom CSS feature.
First, locate the font file(s) downloaded from Adobe, which should likely have names such as yourfontname.otf”, “yourfontname.ttf”, or “yourfontname.woff”. Once found, click on the Site Panel button “Manage Custom Files,” locate your font file, and upload it directly into your web project.
Once your custom font files have been uploaded, the next step should be creating CSS that instructs Squarespace how to use them. One simple method for doing so is going back into Site Panel and clicking “Custom CSS,” before using text editor to enter some code into text field.
This example will utilize a custom font we have already added to our Design Kit. To locate it, navigate to its Documentation and locate its font-family name which should usually be located under “font-family.” Once found, replace this text with your custom font’s specific font-family name to apply your own personalized look and feel.
Next, use your newly created custom CSS snippet to apply your new font to a specific heading on your site. While this process does involve some minor CSS tweaking, it shouldn’t be too difficult once you know what’s expected of you.
To do this, copy and paste your newly generated CSS snippet. In your custom CSS snippet, replace “FontTitle” with your font’s name or whatever else is appropriate, while in its URL section replace “font-url” with the URL for your Adobe font project.
Assign the Font to a Heading
If you have spent hours, days, or even thousands of dollars to find and design professional fonts to represent your brand’s aesthetic, it should be available throughout your website. Squarespace boasts thousands of built-in fonts to help maintain consistency; if yours are among them then great; otherwise there’s always the possibility of using Adobe fonts through some CSS tweaking!
First, ensure that you have a valid Project ID from Adobe Fonts. With that done, log into Squarespace site and navigate to home menu > settings > advanced section > external API Keys options and paste Project ID from Adobe Fonts into that box before clicking Save.
Now that your custom fonts have been successfully uploaded into Squarespace, it’s time to assign them to various elements on your website. Perhaps there is one font you would like to use as the header font or for some text in navigation bars and quote blocks – simply navigate to Design > Custom CSS in your Site Panel and find “Manage Custom Files”, scroll down until you see “Drag and Drop your Font File Here”, drag your custom font file into this window, and drop it there!
Squarespace provides several font and color themes for you already, depending on the theme you use you may have several variants of Open Sans such as light, medium, and bold versions to select. In this article we’ll focus on using only light version Open Sans in both our header and navigation bar to keep things consistent.
To assign font styles for the header, navigate back to Design > Custom CSS and scroll down until you find “Manage Font Styles”, where there will be a box labeled Font Styles where you can simply enter this CSS snippet: