Title: Google Fonts &amp; Page Loading
Last modified: August 22, 2016

---

# Google Fonts & Page Loading

 *  Resolved [bmoretiger](https://wordpress.org/support/users/bmoretiger/)
 * (@bmoretiger)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/google-fonts-12/)
 * I have a pretty mundane question. The Google fonts that I chose for headers do
   not populate, but the correct google font shows up for the body / paragraph text.
   How can I resolve?
 * Also, when I load each webpage, the website appears unformatted for a few seconds
   then it loads in the correct format.
 * Thanks!!

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Theme Author [eminozlem](https://wordpress.org/support/users/eminozlem/)
 * (@eminozlem)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/google-fonts-12/#post-5494358)
 * Can I have a link to check the issues ?
 *  Thread Starter [bmoretiger](https://wordpress.org/support/users/bmoretiger/)
 * (@bmoretiger)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/google-fonts-12/#post-5494359)
 * Hi Eminozlem,
 * Thanks for responding. The website is [http://www.1040taxi.com](http://www.1040taxi.com)
 *  Theme Author [eminozlem](https://wordpress.org/support/users/eminozlem/)
 * (@eminozlem)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/google-fonts-12/#post-5494362)
 * First off, I also encounter the annoying “website appears unformatted briefly”
   myself when using bootswatch sub-themes, i will make sure to look into the issue,
   it should be fixed in the next release.
 * Secondly, the cerulean sub-theme overrides your choosing of font since -i am 
   guessing- you have “style superiorty” ON in sub-theme options. Try turning it
   OFF and see if it works better for you (This time, some other things may be overriding
   cerulain styles, it’s a dilemma I know).
 * Or another way is to add
 *     ```
       h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
        font-family: "Alegreya Sans",arial,sans-serif;
       }
       ```
   
 * under Common > Quick Start > CSS box.
 * Of course, then you’d have to remember to change it accordingly manually, when
   you change your choice of font.
 * Let me know if I can help you with anything further.
 *  Thread Starter [bmoretiger](https://wordpress.org/support/users/bmoretiger/)
 * (@bmoretiger)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/google-fonts-12/#post-5494393)
 * Such a quick fix! Thank you for your help and awesome theme.
 *  Theme Author [eminozlem](https://wordpress.org/support/users/eminozlem/)
 * (@eminozlem)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/google-fonts-12/#post-5494394)
 * BTW to solve the “website appears unformatted briefly” issue, you can open your
   functions.php and change
 *     ```
       add_action('wp_head','eo_bswthemesup',9);
       function eo_bswthemesup(){
       	global $eo_options;
       	$use_bsw_theme = of_get_option( 'use_bsw_themes' );
       	$bsw_theme = of_get_option( 'bsw_theme' );
       	if( $use_bsw_theme && $bsw_theme != "default" && $eo_options['bsw_theme_sup'] == "1" )	{
       		wp_register_style( 'bsw_theme', get_template_directory_uri() . '/panel/of/themes/' . $bsw_theme . '.css', array(), '1.0', 'all' );
       		wp_enqueue_style( 'bsw_theme' );
       	}
       }
   
       add_action('wp_head','eo_override_css',1000);
       function eo_override_css(){
       	global $eo_options;
       	$ov_cssf = get_template_directory().'/rsc/css/override.css';
       	if ( $eo_options['override_css']  == "1" && file_exists($ov_cssf) ) {
       		wp_register_style( 'bsul-override', get_template_directory_uri() . '/rsc/css/override.css', array(), '1.0', 'all' );
       		wp_enqueue_style( 'bsul-override' );
       	}
       }
       ```
   
 * TO:
 *     ```
       add_action('wp_enqueue_scripts','eo_bswthemesup',9);
       function eo_bswthemesup(){
       	global $eo_options;
       	$use_bsw_theme = of_get_option( 'use_bsw_themes' );
       	$bsw_theme = of_get_option( 'bsw_theme' );
       	if( $use_bsw_theme && $bsw_theme != "default" && $eo_options['bsw_theme_sup'] == "1" )	{
       		wp_register_style( 'bsw_theme', get_template_directory_uri() . '/panel/of/themes/' . $bsw_theme . '.css', array(), '1.0', 'all' );
       		wp_enqueue_style( 'bsw_theme' );
       	}
       }
   
       add_action('wp_enqueue_scripts','eo_override_css',10);
       function eo_override_css(){
       	global $eo_options;
       	$ov_cssf = get_template_directory().'/rsc/css/override.css';
       	if ( $eo_options['override_css']  == "1" && file_exists($ov_cssf) ) {
       		wp_register_style( 'bsul-override', get_template_directory_uri() . '/rsc/css/override.css', array(), '1.0', 'all' );
       		wp_enqueue_style( 'bsul-override' );
       	}
       }
       ```
   
 * Basically you need to change ‘wp_head’ hooks to ‘wp_enqueue_scripts’ hooks for
   eo_bswthemesup() function.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Google Fonts & Page Loading’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/bootstrap-ultimate/1.4.9/screenshot.
   png)
 * Bootstrap Ultimate
 * [Support Threads](https://wordpress.org/support/theme/bootstrap-ultimate/)
 * [Active Topics](https://wordpress.org/support/theme/bootstrap-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/bootstrap-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/bootstrap-ultimate/reviews/)

## Tags

 * [google fonts](https://wordpress.org/support/topic-tag/google-fonts/)
 * [header](https://wordpress.org/support/topic-tag/header/)

 * 5 replies
 * 2 participants
 * Last reply from: [eminozlem](https://wordpress.org/support/users/eminozlem/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/google-fonts-12/#post-5494394)
 * Status: resolved