I want to add to my theme some modern light cyrillic fonts – Roboto Thin and Segoe UI Light.
I test some other font, but on cyrillic they don’t work.
Can I add them?
Hey ivailo_georgiev!
Are these fonts that you have access to the files to? If so then you can use @font-face to use them on your site. See here for more info, http://css-tricks.com/snippets/css/using-font-face/.
I checked on the Google Fonts API and it looks like they have roboto but not segoe. You can do this, https://kriesi.at/support/topic/adding-google-fonts-plural/, to add more Google Fonts to the theme settings.
Best regards,
Elliott
Ok, I added the roboto via this code, but how I can make it thin?
add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
function avia_add_heading_font($fonts)
{
$fonts['Alef'] = 'Alef';
$fonts['Roboto'] = 'Roboto';
return $fonts;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Alef'] = 'Alef';
$fonts['Roboto'] = 'Roboto';
return $fonts;
}
Hi!
Please see – http://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/
Cheers!
Yigit