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.

General

Modifying fonts for list in quark - unable to change

Solved by Sebastian Gonzato View solution

Started by Sebastian Gonzato 3 years ago · 1 replies · 292 views
3 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?

3 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 Jerry Hunt, 4 days ago
2 82 10 hours ago
General · by pamtbaau, 16 hours ago
1 53 15 hours ago
General · by Andy Miller, 1 day ago
0 45 1 day ago
General · by Marcel, 12 months ago
6 347 5 days ago
General · by Duc , 5 days ago
3 41 5 days ago