I have made an Enjin website, with it comes the option to create your own module by using HTML, CSS and JavaScript.
I created a navigation bar:
.navbar {
position: fixed !important;
background: #FCFCFF;
top: 0;
left: 0;
z-index: 9999;
height: 80px;
width: 100%;
font-family: 'sao_uiregular';
font-size: 32px;
transition: 300ms height ease-in-out, 300ms background ease-in-out;
box-shadow: 0 0rem 1rem 0.5rem rgba(0, 0, 0, 0.25);
}
@font-face {
font-family: 'sao_uiregular';
src: url(http://files.enjin.com/1254562/custom_fonts/saofont-webfont.eot);
src: url(http://files.enjin.com/1254562/custom_fonts/saofont-webfont.eot?#iefix) format('embedded-opentype'),
url(http://files.enjin.com/1254562/custom_fonts/saofont-webfont.woff2) format('woff2'),
url(http://files.enjin.com/1254562/custom_fonts/saofont-webfont.woff) format('woff'),
url(http://files.enjin.com/1254562/custom_fonts/saofont-webfont.ttf) format('truetype'),
url(http://files.enjin.com/1254562/custom_fonts/saofont-webfont.svg#sao_uiregular) format('svg');
font-weight: normal;
font-style: normal;
}
<body>
<div class="navbar">
<ul class="items">
<li id="home"><a class="anm" href="page1">Home</a></li>
<li id="forums"><a class="anm" href="page2">Forums</a></li>
<li id="store"><a class="anm" href="page3">Store</a></li>
<li id="stafflist"><a class="anm" href="page4">Staff List</a></li>
<li id="support"><a class="anm" href="page5">Support</a></li>
</ul>
</div>
</body>
the font does not seem to work, I stored it in the Enjin's website files. In the CSS I tried putting "", '', and nothing in the url, but none of them seemed to work. My question is why won't it work?