Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General question - how do I change Font? #26

Closed
rahulgadre opened this issue Sep 12, 2020 · 5 comments
Closed

General question - how do I change Font? #26

rahulgadre opened this issue Sep 12, 2020 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@rahulgadre
Copy link

Thank you for this template. I have a general question about changing the font. I see that the current one is set to Roboto. How do I change it to a different font? I am new to Jekyll so any help here would be helpful.

Best,
Rahul

@piharpi
Copy link
Owner

piharpi commented Sep 13, 2020

Go to yoursite/_sass/main.scss , change the values with your own

// Fonts preferences
$sans-family: Roboto, sans-serif;
$mono-family: Consolas, monospace;
$base-font-size: 16px;
$medium-font-size: $base-font-size * 0.938;
$small-font-size: $base-font-size * 0.875;
$base-line-height: 1.85;

For example
https://github.com/piharpi/jekyll-klise/blob/master/_sass/main.scss

@piharpi piharpi closed this as completed Sep 13, 2020
@piharpi piharpi self-assigned this Sep 13, 2020
@piharpi piharpi added the question Further information is requested label Sep 13, 2020
@rahulgadre
Copy link
Author

That worked. Thank you for your reply.

Best,
Rahul

@piharpi
Copy link
Owner

piharpi commented Sep 14, 2020

You're welcome

@abhisheknaiidu
Copy link

Go to yoursite/_sass/main.scss , change the values with your own

// Fonts preferences
$sans-family: Roboto, sans-serif;
$mono-family: Consolas, monospace;
$base-font-size: 16px;
$medium-font-size: $base-font-size * 0.938;
$small-font-size: $base-font-size * 0.875;
$base-line-height: 1.85;

For example
https://github.com/piharpi/jekyll-klise/blob/master/_sass/main.scss

Hey hi @piharpi , I actually changed the font to Fira Code, but it worked just for Chrome and Firefox, for Safari and Mobile Version, it's just showing normal Font's, do know what to do?

@abhisheknaiidu
Copy link

abhisheknaiidu commented Jan 10, 2021

Go to yoursite/_sass/main.scss , change the values with your own

// Fonts preferences
$sans-family: Roboto, sans-serif;
$mono-family: Consolas, monospace;
$base-font-size: 16px;
$medium-font-size: $base-font-size * 0.938;
$small-font-size: $base-font-size * 0.875;
$base-line-height: 1.85;

For example
https://github.com/piharpi/jekyll-klise/blob/master/_sass/main.scss

Hey hi @piharpi , I actually changed the font to Fira Code, but it worked just for Chrome and Firefox, for Safari and Mobile Version, it's just showing normal Font's, do know what to do?

It worked using some CSS type faces from here!
Thanks for this awesome project~✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants