Hello everyone,
My brand uses a specific font family, called "Gotham" on all of our marketing materials. Unfortunately, this font is not pre-loaded in the Squarespace editor, thus I've uploaded it and used CSS to assign it specific display roles on my site - such as "heading 1, heading 2, etc"
When I'm editing my site in Squarespace, it appears without issue. No error notifications in the CSS editor, either. However, when signed out and viewing live, the font doesn't display at all - and is substituted by a default serif font.
I've attached annotated screenshots, and I'll attempt to paste the code below. Can someone please examine, and identify what's incorrect, or potentially missing from the Custom Font CSS sections?
I'll note again, that there are no error notifications displaying in the CSS Editor. View all our custom code below:
.Header-nav--primary .Header-nav-item {
font-family: 'Gotham' !important;
}
.Mobile-overlay-nav--primary .Mobile-overlay-nav-item,
.Mobile-overlay-folder-item {
font-family: 'Gotham' ;
}
@font-face {
font-family: 'Gotham' ;
src: url('Gotham' );
}
h1 {font-family: 'Gotham' ;}
h2 {font-family: 'Gotham-Light';}
h3 {font-family: 'Gotham' ;}
.quote-block * {
color: gray;
font-family: 'Gotham-Light' !important;
}
.sqs-block-button-element {
font-family: 'Gotham' !important;
}
input.button.sqs-system-button.sqs-editable-button {
padding-top: 17px;
padding-bottom: 17px;
padding-left: 28px;
padding-right: 28px;
font-family: 'Gotham';
font-size: 10px !important;
}