Support ForumCustom Fonts – Support Forum https://support.ishyoboy.com/forums/topic/custom-fonts/feed/ Fri, 04 Sep 2026 04:07:23 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/custom-fonts/#post-6690 <![CDATA[Custom Fonts]]> https://support.ishyoboy.com/forums/topic/custom-fonts/#post-6690 Fri, 13 Feb 2015 13:20:47 +0000 Martence Hi there,

my question is this:
I want to replace the H1 and H2 fonts by a custom font.
However – I want the font that is set as standard (the Google Font) to be the back-up
for devices and browsers that are not able to open my custom font.

How do I do this?

Thank you.
Laurens.

]]>
https://support.ishyoboy.com/forums/topic/custom-fonts/#post-6724 <![CDATA[Reply To: Custom Fonts]]> https://support.ishyoboy.com/forums/topic/custom-fonts/#post-6724 Mon, 16 Feb 2015 15:08:37 +0000 IshYoBoy Hey Laurens,

To override the H1, and H2 font settings just use simple CSS. If you will not be changing the google font then hardcode it into the font-family setting. E.g.:

Of course use the standard WordPress filters to attach your custom font’s CSS if it is a webfont. We guess you are already familiar with this part so we won’t describe it further.

If you however want to keep the ability to change the “backup” font from back-end then edit the file:
wp-content/themes/no8/assets/framework/wp/dynamic_css/inc/dynamic_fonts.php

where the font is dynamically output into the CSS. To see the changes you will have to go to Theme Options and hit the “Save All Changes” button. It will generate all CSS files again along with your changes.

P.S. be careful. You will have to make these changes every time you update the theme so we suggest write comments to know what to change in the future.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>