Site URL: https://salamander-lanternfish-92zm.squarespace.com/coming-soon
Hi,
I am having similar issues with customising font on my cover page....
It seems to work and then defaults to an odd standard font.
Also Strangely it also seems to be doing it on the body text despite having not customised this.
The website isn't published yet but the code is as follows
In main CSS -
@font-face {
font-family: 'deutschlander';
src: url('https://static1.squarespace.com/static/61657571f2d4ed2327f7aba9/t/61684d9452420740f7e4516a/1634225556482/deutschlander-2-0.regular.otf')format('opentype'); }
h1 {
font-family: 'deutschlander', sans-serif;
}
h1 strong {
font-family: 'deutschlander' sans-serif;
}
In header code injection -
<style>
@font-face {
font-family: deutschlander;
src: url('https://static1.squarespace.com/static/61657571f2d4ed2327f7aba9/t/61684d9452420740f7e4516a/1634225556482/deutschlander-2-0-Regular.otf') format(opentype);
}
* {
font-family: deutschlander !important;
}
</style>
Do I need to add a <head> tag?
What am I missing? Thanks in advance!