Hello @max2348,
The content editor is not suitable/created for embeding custom fonts. I recommend to use wpmm_head
hook to import the font and add custom CSS rules.
See the example below about how you can add a Google Font:
// add the code in functions.php of your theme (child theme)
function wpmm_custom_css() {
?>
<style>
@import url('https://fonts.googleapis.com/css?family=Ubuntu');
h1, h2 {
font-family: 'Ubuntu', sans-serif;
}
</style>
<?php
}
add_action('wpmm_head', 'wpmm_custom_css');
You can also use this technique: https://www.ads-software.com/support/topic/design-text-is-forced-in-an-h2/#post-8263762
Thanks.
-
This reply was modified 7 years, 8 months ago by
George J.