hi guys, I've searched this on the forum for a while and have made all the changes and tweaks recommended but am still not getting any results.
i've uploaded custom fonts to my squarespace (NibPro and ElanITC) but when I visit the website the headers are using times new roman still in places I've asked for our custom fonts to be used - in particular the home page, at various points and with respect to the site header text.
Also, our Contact Us page block is still in the same font. Can anyone help? I've posted the CSS below in case I've done something really wrong...
thanks!
--
//Edit header fonts//
@font-face {
font-family: 'ElanITC';
src: url ('https://static1.squarespace.com/static/628f8fb45c6de7605ef05ef0/t/628f93e4f8a4833669bc131a/1653576676746/elanitcstd-medium.otf');
}
h1 {font-family: 'ElanITC';}
h2 {font-family: 'ElanITC';}
h3 {font-family: 'ElanITC';}
h4 {font-family: 'ElanITC';}
// Site Title //
.header-title-text a {
font-family: 'NibPro-Regular' !important;
}
// Site Navigation //
.header-nav-item a {
font-family: 'ElanITC' !important;
}
// Button //
.header-actions-action .btn {
font-family: 'ElanITC' !important;
}
// Announcement Bar //
.sqs-announcement-bar-url a {
font-family: 'ElanITC' !important;
}
//Edit paragraph fonts//
@font-face {
font-family: 'NibPro-Regular';
src: url('https://static1.squarespace.com/static/628f8fb45c6de7605ef05ef0/t/62912753087c443cb4184675/1653679955085/NibPro-Regular.ttf');
}
.sqsrte-large {font-family: 'NibPro-Regular';}
p {font-family: 'NibPro-Regular';}
.sqsrte-small {font-family: 'NibPro-Regular';}
.newsletter-block .newsletter-form-field-element::placeholder {
font-family: NibPro-Regular;
}
// Small or Tertiary Button //
.sqs-block-button-element--small, .sqs-button-element--tertiary {
font-family: NibPro-Regular !important;
}
// Medium or Primary Button //
.sqs-block-button-element--medium, .sqs-button-element--primary {
font-family: NibPro-Regular !important;
}
// Large or Secondary Button //
.sqs-block-button-element--large, .sqs-button-element--secondary {
font-family: NibPro-Regular !important;
}
.form-wrapper .field-list .title {
font-family: 'ElanITC';
color: #FFFFFF;
}
.form-wrapper .field-list .field .caption {
font-family: ElanITC;
font-size: 9px;
color: #FFFFFF;
}
/* blog title font */
h1.blog-title, h1.entry-title, a.summary-title-link {
font-family: 'ElanITC' !important;
}
body.view-list .blog-date {
font-family: NibPro-Regular;
font-size: 15px
}
//google recaptcha styling
.captcha-container {
opacity: .3;
transition: opacity .3s ease;
}
.newsletter-form-body:focus-within .captcha-container, .form-wrapper:focus-within .captcha-container, .captcha-container:hover {
opacity: 1;
}