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

how to edit the font style of the posts #16

Closed
kaedea opened this issue May 21, 2015 · 3 comments
Closed

how to edit the font style of the posts #16

kaedea opened this issue May 21, 2015 · 3 comments

Comments

@kaedea
Copy link

kaedea commented May 21, 2015

Hi, Louis, thanks for your great job.
I had looked for hundreds of themes and find that yours is the best.
And now I would like to change the font style of the posts because the default style is not good for chinese characters.
Please offer a way.

@LouisBarranqueiro
Copy link
Owner

Thank you! :) What do you mean by "offer a way" ? Do you mean : easily in _config.yml? or you want to know which css file you need to edit?

To modify the font of post content : you have to edit tranquilpeak/source/_css/components/_post.scss and replace font-family: 'Merriweather', serif; with your font. To do things properly, if your font is a custom font, you have to import it in tranquilpeak/source/_css/utils/_fonts.scss. I recommend you to use google font to import it or you can add local fonts in tranquil peak/source/_fonts.
Don't forget to build the theme after changes. For more information, read developer documentation Build part

@kaedea
Copy link
Author

kaedea commented May 22, 2015

Thanks Louis. "offer a way" means I want to edit the css (I am not a frontia developer therefore your answer is the fast way for me to edit).

@kaedea kaedea closed this as completed May 22, 2015
@LouisBarranqueiro
Copy link
Owner

your welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants