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

    Hi,

    i have two questions if you could help me:

    – How do i force Color Section´s height to 65px?

    – How can i add more Google fonts to the font list (ex: Open Sans Light)?

    Thanks!!

    #309630

    For the font look here: https://kriesi.at/support/topic/add-new-font/?login_error#post-234710
    But if someone can help me. I followed the steps and it doesn’t show in the the list for me:

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Titillium Web’] = ‘Titillium+Web:400,300,200,600’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Titillium Web’] = ‘Titillium+Web:400,300,200,600’;
    return $fonts;
    }
    Let me know if that works for you….and in that case I would be the only one with this issue?

    #310183

    Hi,


    @zoiestudio
    to make a fixed height color section set a custom ID (es: custom_section) to that color section and add this to Quick CSS:

    #custom_section {
        height: 65px !important;
    }


    @asthyanax
    can you post a link to your website? a temporary admin account would be required too.

    Best regards,
    Josue

    #310195
    This reply has been marked as private.
    #310197

    It’s done, i added this code in Plugins > Edit Functions:

    add_filter( 'avf_google_heading_font', 'add_custom_font');
    add_filter( 'avf_google_content_font', 'add_custom_font');
    
    function add_custom_font($fonts)
    {
    $fonts['Titillium Web'] = 'Titillium Web:400,300,200,600';
    return $fonts;
    }
    

    Regards,
    Josue

    #310210

    Thank you so much:)

    #310212

    You are welcome, glad to help :)

    Regards,
    Josue

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.