Font-display problem
-
Hello, i add in the css the following:
@font-face {
font-family: 'Spaceport';
src: url('/wp-content/themes/storefront/fonts/house/HOUSE3009-Spaceport.woff2') format('woff2'),
url('/wp-content/themes/storefront/fonts/house/HOUSE3009-Spaceport.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: block;
}
.spaceport-text {
font-family: 'Spaceport', sans-serif;
font-size: 27px;
text-align: center;
color: white;
letter-spacing: 1px;
margin: 0px 0;
text-transform: uppercase;
text-shadow:
-2px -2px 0 #000,
2px -2px 0 #000,
-4px 4px 0 #000,
1px 1px 0 #000;
}but font-display: block; appears in red and seems to doesnt have effect, i´m doing something wrong? Its not supported that? Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Font-display problem’ is closed to new replies.
