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 →

Modifying fonts for list in quark - unable to change

Solved by Sebastian Gonzato View solution

Started by Sebastian Gonzato 4 years ago · 1 replies · 553 views
4 years ago

I managed to change the fonts of quark as I explain here. However, the fonts in lists appear to still to the fallback font. I tried to change this by adding the following in my custom typography.scss:

SCSS
// Lists
ul li ol {
  font-family: $base-font-family;
}

... same as I did for paragraphs:

CSS
// Paragraphs
p {
  font-family: $base-font-family;
}

But no luck. I feel like I must be missing something obvious?

4 years ago Solution

It was super simple, this needed to be:

SCSS
ul {
  font-family: $base-font-family;
}

ol {
  font-family: $base-font-family;
}

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 24 hours ago
2 40 17 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago