Preloading fonts in Sydney Pro

Hi Team, please help with this:

I would like to enter the correct values in WP Rocket to pre-load fonts for my website: (https://www.frmquestionbank.com/)

Please see the attached screenshot:

Hi,

Thank you for contacting us.

It seems likely you are asking about configuration on WPRocket, which is developed by other company. And that configuration doesn’t relate with our theme.

Thus I’d recommend checking this page and you should get the solution from there since you’re their customer.

Have a nice day!

Regards,
Kharis
aThemes Support

Ok, Can you tell me where to find the font folders/files in Sydney Pro please

Thanks

Hi,

There is no font files in Sydney as it uses Google Fonts. And it is called from the main theme’s functions (functions.php) file in these lines:

	wp_enqueue_style( 'sydney-google-fonts', esc_url( sydney_enqueue_google_fonts() ), array(), null );

	if ( is_customize_preview() ) {
		wp_enqueue_style( 'sydney-preview-google-fonts-body', 'https://fonts.googleapis.com/', array(), null );
		wp_enqueue_style( 'sydney-preview-google-fonts-headings', 'https://fonts.googleapis.com/', array(), null );
	}	
	

and the CSS is located in the inc/styles.php file in these lines:

	//Fonts
	$body_fonts 	= get_theme_mod( 'body_font', 'Poppins' );	
	$headings_fonts = get_theme_mod( 'headings_font', 'Ubuntu' );
	$custom .= "body, #mainnav ul ul a { font-family:" . $body_fonts . ";}"."\n";
	$custom .= "h1, h2, h3, h4, h5, h6, #mainnav ul li a, .portfolio-info, .roll-testimonials .name, .roll-team .team-content .name, .roll-team .team-item .team-pop .name, .roll-tabs .menu-tab li a, .roll-testimonials .name, .roll-project .project-filter li a, #secondary .widget_recent_entries li a, .roll-button, button, input[type=\"button\"], input[type=\"reset\"], input[type=\"submit\"] { font-family:" . $headings_fonts . ";}"."\n";

Regards,
Kharis
aThemes Support