Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #532207

    Hi guys,

    i need to insert a code between <head> on all my pages in order to use a webfont hosted in the server of the provider that sold me the font.

    Any solution? thanks a lot for your help!

    Cheers
    Mario

    #532219

    Hey Mario!

    You can use the
    do_action(‘ava_main_header’);

    which we include and place a function inside there!

    Let us know if we can help you with anything else

    Regards,
    Basilis

    #532236

    Hi Basilis,

    can you explain me bit better what i have to do please?

    Thanks a lot!!

    Mario

    #532400

    Hi,

    Please try the following in your child themes functions.php

    function custom_css_header(){ ?>
    <link href="//cloud.webtype.com/css/8e2b7b90-a01a-496e-93d3-11bb4fcd00ca.css" rel="stylesheet" type="text/css" />
    <?php
    }
    add_action('wp_head', 'custom_css_header');

    Regards,
    Rikard

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