- XF Compatibility
- 2.2.x
- Summary
- This addon simplifies adding Google Font embed codes to a theme by allowing users to easily input these codes through a single Style Property setting, rather than making messy template edits.
Adding Google Font embed codes to a theme by letting you easily input these codes through a single Style Property setting, rather than making messy template edits
Embedding fonts
FAQ
Q. Where can I find the settings for this addon?
A: You can find the field for pasting font codes in Style Properties -> Typography
Q. How do I paste the codes? Where do I get it from?
A: You should always paste the code as supplied directly on the Google Fonts website after selecting your fonts. See the above screenshot for example. Google supplies this code in three lines - you should copy and paste all three lines, similar to this:
Embedding fonts
FAQ
Q. Where can I find the settings for this addon?
A: You can find the field for pasting font codes in Style Properties -> Typography
Q. How do I paste the codes? Where do I get it from?
A: You should always paste the code as supplied directly on the Google Fonts website after selecting your fonts. See the above screenshot for example. Google supplies this code in three lines - you should copy and paste all three lines, similar to this:
HTML:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">