Skip to content

How do I change the font? #1981

Answered by rjzupkoii
mohsin651 asked this question in Q&A
Discussion options

You must be logged in to vote

The master location for fonts is in _sass/_variables and the lines that govern the fonts look like this:

$global-font-family         : $sans-serif;
$header-font-family         : $sans-serif;
$caption-font-family        : $serif;

By default the $sans-serif variable is used which uses the following default and fail overs:

$sans-serif                 : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;

If you are going to change the template font is recommended that you define a new font variable that includes fail overs like the $sans-serif variable and then assign that variable to the primary variables listed above.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by rjzupkoii
Comment options

You must be logged in to vote
1 reply
@rjzupkoii
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
faq Frequently Asked Questions
2 participants
Converted from issue

This discussion was converted from issue #1959 on March 12, 2024 02:18.