Help installing a custom font for my H4 heading

Hello,

I have a problem…alas I am here.

I had someone (of which I cannot connect with right now) change my H4 heading to ‘bad script’ (google font)

I desperately hate this font and I cannot figure out how to get rid of it.

In my wordpress Appearance >> Editor>>theme functions.php, I see the following:

<?php // ============================================================================= // FUNCTIONS.PHP // ----------------------------------------------------------------------------- // Overwrite or add your own custom functions to X in this file. // ============================================================================= // ============================================================================= // TABLE OF CONTENTS // ----------------------------------------------------------------------------- // 01. Enqueue Parent Stylesheet // 02. Additional Functions // ============================================================================= // Enqueue Parent Stylesheet // ============================================================================= add_filter( 'x_enqueue_parent_stylesheet', '__return_true' ); add_action( 'wp_enqueue_scripts', 'load_font' ); function load_font() { wp_enqueue_style( 'google-font', 'https://fonts.googleapis.com/css?family=Bad+Script' ); } // Additional Functions // ============================================================================= ......................................................... And clearly know that this has something to do with it. I would like to install a custom font (that isn't google) (http://www.stereo-type.fr/fonts/broadcast-matter/) Can someone please help me understand this...... I do understand the customize for the other headers and they are the correct font......it is just the H4 one that was isolated and needs to be updated to this other style.....(or at least an alternate google font) as am simply avoiding it at this point i hate it so much! thanks

Hello There,

Thank you for the very detailed post. To resolve this issue, please go to your theme options custom css and remove this:

h4, .h4 {
  text-transform: none;
  font-family: 'Bad Script', cursive !important;
  line-height:1.4em;
  letter-spacing: 1px;
  font-size: 1.8em;
}

Once removed, the h4 will now have the global settings in the theme options, X > Theme Options > Typography > Headings.

Please let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.