Hi!
I am working on a webpage with Pagebuilder where we gonna use a custom font, designed for this football team that the site is about.
This is what I done.
- I have created a folder under the template folder called - fonts
- I have uploaded the fonts "spurs_v1_004-webfont.woff" and "spurs_v1_004-webfont.woff2" in this folder
I have created a new page in PB and added this code in the custom.css in that page.
*@font-face {
font-family: 'spursregular';
src: url('../fonts/spursv1004-webfont.woff2') format('woff2'),
url('../fonts/spursv1004-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
p {
font-family: spursregular !important;
}*
So. I was hoping that when I create a textblock (p) the font called "spursregular" should replace the original font. But it does not...
When I re-open the page there is only a white page all add-ons on the page are gone. Like something in the css of the page, crash the page and I need to start over again.
I am not expert in using custom fonts so I would be very happy for some help. -)
Kind regards
Ola