Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #905553

    Hi kind supporto
    I would like to know how to use ROBOTO Condensed as font of the text of my website.

    I tried to change to Roboto Condensed but I was not able to use that font.
    can you please help me?

    thanks a lot Libera

    #906078

    Hey liberalamente,

    Did you try to import it as a body font? http://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/

    Best regards,
    Rikard

    #906238

    Per roboto condensed cona you please pass me the code to add all of them?
    thanks

    /* Light */
    @font-face {
    font-family: “Roboto Condensed”;
    font-style: normal;
    font-weight: 300;
    src: local(‘Roboto Condensed Light’), local(‘RobotoCondensed-Light’), url(“RobotoCondensed-Light.ttf”) format(‘truetype’);
    }
    @font-face {
    font-family: “Roboto Condensed”;
    font-style: italic;
    font-weight: 300;
    src: local(‘Roboto Condensed Light Italic’), local(‘RobotoCondensed-LightItalic’), url(“RobotoCondensed-LightItalic.ttf”) format(‘truetype’);
    }

    /* Normal */
    @font-face {
    font-family: “Roboto Condensed”;
    font-style: normal;
    font-weight: 400;
    src: local(‘Roboto Condensed Regular’), local(‘RobotoCondensed-Regular’), url(“RobotoCondensed-Regular.ttf”) format(‘truetype’);
    }
    @font-face {
    font-family: “Roboto Condensed”;
    font-style: italic;
    font-weight: 400;
    src: local(‘Roboto Condensed Italic’), local(‘RobotoCondensed-Italic’), url(“RobotoCondensed-Italic.ttf”) format(‘truetype’);
    }

    /* Bold */
    @font-face {
    font-family: “Roboto Condensed”;
    font-style: normal;
    font-weight: 700;
    src: local(‘Roboto Condensed Bold’), local(‘RobotoCondensed-Bold’), url(“RobotoCondensed-Bold.ttf”) format(‘truetype’);
    }
    @font-face {
    font-family: “Roboto Condensed”;
    font-style: italic;
    font-weight: 700;
    src: local(‘Roboto Condensed Bold Italic’), local(‘RobotoCondensed-BoldItalic’), url(“RobotoCondensed-BoldItalic.ttf”) format(‘truetype’);
    }

    #906795

    Hi,

    Please add the filter in the functions.php file.

    
    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;
    }

    Best regards,
    Ismael

    #906932

    The right code is

    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;
    }

    Anyhow I set the Roboto Condensed but i do NOT SEE any differences!
    What do i have to do to CHANGE the font?
    Please i need help

    #906936

    I solved it ….but without your support.
    I didi not appreciate it.

    #907126

    Hi,

    The solution Ismael provided should work.
    But, we are happy you got it short out, we hope we can help with something else a lot more!

    Best regards,
    Basilis

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘How to use ROBOTO Condensed as text of my body’ is closed to new replies.