Hi how do I insert the condensed version of robot for my menu items?
Under advanced styling there is no condensed versions of roboto ?
Hi codecreative!
Please see – http://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/
Regards,
Yigit
Hi I sort of understand. This is the sample code
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘PT Sans Narrow’] = ‘PT Sans Narrow:400,700’;
$fonts[‘PT Sans’] = ‘PT Sans:400,700,400italic,700italic’;
return $fonts;
}
But how do I substitute the above for Roboto Condensed ?
Hi!
Replace the code with this:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
function avia_add_heading_font($fonts)
{
$fonts['Roboto Condensed'] = 'Roboto Condensed:300italic,400italic,700italic,400,300,700';
return $fonts;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Roboto Condensed'] = 'Roboto Condensed:300italic,400italic,700italic,400,300,700';
return $fonts;
}
You can now select the Roboto Condensed font on the Theme Options > Font panel.
Best regards,
Ismael