• Hi

    I would like to add more custom fonts (not Goolge) to my page what I can use in “Customise” window to change the body and header fonts.

    How can I add fonts to the “Customise”, under “Typography” section?

    Thank you in advance!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • You would need to modify your theme (with a child theme), or use a plugin specifically for fonts (but it won’t modify your theme options).

    There are two parts to fonts:
    1. telling the browser where to find the font file (all the glyphs) and its font family name
    2. using the font family in the CSS to apply to various things (which are named according to your theme)

    Thread Starter Looder

    (@looder)

    Thank you for the feedback! How and where exactly I can do these parts @joyously ?

    Since you don’t want to use Google Fonts, you have to supply the font files as part of your child theme (or plugin).
    You would need to look at the code for your theme to see if it has a filter for the Typography options, so you can add more in easily. If it doesn’t, you would need to copy that code, call the remove function for the original, and load your own expanded one instead. The theme is probably already doing the CSS for applying the chosen font.
    Child Themes
    Since this is so dependent on how your theme is written, you should ask in your theme’s support forum.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to add fonts to Customise?’ is closed to new replies.