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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Themes & Styling

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

Started by Nick G 3 years ago · 3 replies · 360 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 Pedro M, 2 months ago
4 202 2 months ago
Themes & Styling · by Ian, 2 months ago
3 98 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 461 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 52 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 132 3 months ago