Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

My custom font is not appearing, and I can't figure out why

Started by Nick G 4 years ago · 3 replies · 648 views
4 years ago

For whatever reason, this is not working out and I cannot figure out why.

This is in my custom CSS file.

CSS
@font-face{ 
    font-family: 'AAS';
    src: rl(/path/to/user/themes/quark/fonts/aas.ttf) format('truetype');
}
body {
  font-family: 'AAS', sans-serif;
}

I have also tried

CSS
 @font-face{ 
    font-family: 'AAS';
    src: rl(../fonts/aas.ttf) format('truetype');
 }
 body {
   font-family: 'AAS', sans-serif;
 }

What am I missing? I have cleared cache and what not, but I am still striking zero.

4 years ago

That is why I tried the full link. I'm sure.

4 years ago

What full link? Does src support rl()? What is this rl() at all?

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by MarkP, 2 weeks ago
3 193 2 weeks ago
Themes & Styling · by TomW, 2 weeks ago
0 111 2 weeks ago
Themes & Styling · by themetman, 3 weeks ago
1 206 3 weeks ago
Themes & Styling · by AH, 1 month ago
1 324 3 weeks ago
Themes & Styling · by Bruno, 4 years ago
6 1523 3 weeks ago