In FirmaSite theme, Google Font selection is affecting all your text font. Maybe you want to use an extreme font that looks good only on big texts like headers. For example; This site is using Ubuntu Condensed named Google Font. If you check our site’s codes you will see this line:
body { font-family: Ubuntu Condensed,sans-serif !important;}
body tag affects all texts in your site but we want to use Google Font on only headers. So we need to define new fonts for body then we need to use our Google Font for headers:
body { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important; }
h1,h2,h3,h4,h5,h6 { font-family: Ubuntu Condensed,sans-serif !important; }
If you want different font for your body, you can check font stacks from cssfontstack.com. This site is showing those font’s browser supports. ( Yeah, welcome to webmaster problems
Sadly computers dont have same fonts installed always. This is why using Google Font on all texts is a good idea )
Remember:
- When you want to use different Google Font, you need to change your header’s font family with new font name too.
- You have to use
!importantwhen defining fonts. Just check example above.