Black Friday! Get up to 25% off GP Premium! Learn more ➝

Reply To: Google font problem

Home Forums Support Google font problem Reply To: Google font problem

Home Forums Support Google font problem Reply To: Google font problem

#240554
Tom
Lead Developer
Lead Developer

When you select fonts in the Customizer, two hidden fields are automatically populated with the data attached to the font you choose.

For now, these fields will stay hidden, but the variants might become visible one day.

For now, you can do this:

add_action('customize_controls_print_styles', 'tu_customize_preview_css');
function tu_customize_preview_css() {
	?>
	<style>
		.customize-control.customize-control-gp-hidden-input {display: block !important;}
	</style>
	<?php
}

That will display the fields so you can adjust them as needed.

It’s required to have something in each field.

Hope this helps!