Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Modifying fonts for list in quark - unable to change

Solved by Sebastian Gonzato View solution

Started by Sebastian Gonzato 4 years ago · 1 replies · 456 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 Andy Miller, 7 days ago
0 112 7 days ago
General · by lynbor, 1 month ago
3 439 2 weeks ago
General · by lynbor, 3 weeks ago
7 562 2 weeks ago
General · by Harry, 2 weeks ago
0 161 2 weeks ago
General · by Old Man Umby, 1 month ago
2 309 3 weeks ago