Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Change font on inherited theme

Started by Muut Archive 10 years ago · 1 replies · 528 views
10 years ago

I want to change the font on a child theme (of Antimatter). I added the @font-face to my _custom.scss and assigned it to "$font-family-default". But nothing changes on the site.
Is it not possible to override scss-variables in _custom.scss? I also changed "custom" to the last line in template.scss

10 years ago

Ok, I changed "template/custom"" to be directly after "template/fonts" in template.scss. Now the font changed, but all other changes in my custom.scss are gone because they`re overwritten afterwards... So I guess I have to split my _custom.scss? Or is there a better solution?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2290 9 years ago
Archive · by Muut Archive, 9 years ago
2 1506 9 years ago
Archive · by Muut Archive, 9 years ago
2 4757 9 years ago
Archive · by Muut Archive, 9 years ago
1 3572 9 years ago
Archive · by Muut Archive, 9 years ago
3 1630 9 years ago