Skip to content
Grav 2.0 is officially stable. Read the announcement →
Themes & Styling

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

Started by Nick G 3 years ago · 3 replies · 467 views
3 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.

3 years ago

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

3 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 stuart young, 2 weeks ago
3 251 2 weeks ago
Themes & Styling · by Sebadamus, 3 weeks ago
5 317 3 weeks ago
Themes & Styling · by martynfoster735, 4 weeks ago
1 310 4 weeks ago
Themes & Styling · by Justin Young, 1 month ago
1 348 1 month ago
Themes & Styling · by Slebeig, 2 months ago
4 474 2 months ago