Hello,
I am trying to apply custom fonts to my cover page. I was successfully able to do so on other pages, but not on the cover page.
On my Custom CSS/Design/ window, my code looks like this:
@font-face {
font-family: 'Futura-Classic';
src: url(https://static1.squarespace.com/static/56998e823b0be35eb44d5787/t/60cb9973945558096dc88cf7/1623955827203/FutureClassic.otf);
font-weight: normal;
font-style: normal;
}
h1 {
font-family: 'Futura-Classic';}
h2 {
font-family: 'Futura-Classic';}
h3 {
font-family: 'Futura-Classic';}
.BlogItem-title {
font-family: 'Futura-Classic';}
.header-title-text {
font-family:'Futura-Classic';
font-size: 80px !important;}
.logo.site-title a {
font-family: 'Futura-Classic';}
.logo-subtitle {
font-family: 'Futura-Classic';}
.header-nav--primary .Header-nav-item {
font-family: 'Futura-Classic';}
.header-nav--secondary .Header-nav-item {
font-family: 'Futura-Classic';}
On the Cover Page/ Advanced/ Code Injection window, it looks like this:
<style>
@font-face {font-family: 'Futura-Classic';
src:url('https://static1.squarespace.com/static/56998e823b0be35eb44d5787/t/60cb9973945558096dc88cf7/1623955827203/FutureClassic.otf') format(opentype);
}
* {
font-family: 'Futura-Classic' !important;
}
</style>
Please help? I'm totally new to CSS.
Thanks so much,