Hi!
I use custom fonts on some of our pages. It works fine with headings. I can see the font "Spurs" applied there.
I want the same custom font on the buttons text on these pages.
I tried to add this code but doesn't work.
How can I apply the font Spurs to the button? + How can I set the size of the button (Large)
I have selected "Custom" as button type in the add-on settings.
Since it we use this font on only some pages, the code should not be in a custom.css that applies to all pages.
Kind regards
Ola
*@font-face {
font-family: 'Spurs';
src: url(https://www.coachenevents.se/templates/shaperhelixultimate/fonts/Spurs.eot);
src: url(https://www.coachenevents.se/templates/shaperhelixultimate/fonts/Spurs.eot?#iefix) format('embedded-opentype'),
url(https://www.coachenevents.se/templates/shaperhelixultimate/fonts/Spurs.otf) format('otf'),
url(https://www.coachenevents.se/templates/shaperhelixultimate/fonts/Spurs.ttf) format('truetype'),
url(https://www.coachenevents.se/templates/shaperhelixultimate/fonts/Spurs.woff) format('woff'),
url(https://www.coachenevents.se/templates/shaperhelixultimate/fonts/Spurs.woff2) format('woff2'),
url(https://www.coachenevents.se/templates/shaperhelixultimate/fonts/Spurs.svg#Spurs) format('svg');
}
.custom-button {
font-family: 'Spurs';
background-color: #blue;
color: white;
padding: 15px 32px;
font-size: 16px;
margin: 4px 2px; / Margin /
}