ryanforprez
Coder
I have a site that I am hosting through siteground and my font-face property isn't showing up when I make the site live, it works fine in preview mode. I have tried saving as a woff, otf, ttf everything and it is not working.
CSS:
@font-face {
font-family: Sans;
src: url("Fonts/BeanSans-Regular.otf");
}
.header2 {
flex: 1;
padding-left: 75%;
padding-top:1%;
padding-right: 5%;
font-size: 22px;
line-height: 45px;
font-family: Sans;
align-content: left;
}
p {
padding: 10px;
font-family: Sans;
font-size: 20px;
letter-spacing: 3px;
color: black;
text-align: left;
}