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 →

Change font on inherited theme

Started by Muut Archive 10 years ago · 1 replies · 592 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 Muut Archive, 10 years ago
1 674 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5337 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago