Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1384157
    aahmadi1979
    Participant

    Hi,

    I have tried a lot to work out having a custom add on my x-child theme.
    I need your assistance. I have done the following:

    1. using transfonter, have created files in .oet, .woff, .svg, and .ttf.
    2. uploaded the files to the root file, which in my case is for instance: http://www.nhmigration.com/wp-content/themes/x-child/byekan.oet
    3. then, I added this code under customizer: Custom/EDIT GLOBAL CSS:

    ont-face {
    font-family: ‘byekan’;
    src: url(‘www.nhmigration.com/wp-content/themes/x-child/byekan.eot’);
    src: url(‘www.nhmigration.com/wp-content/themes/x-child/byekan.eot?#iefix’) format(’embedded-opentype’),
    url(‘www.nhmigration.com/wp-content/themes/x-child/byekan.woff’) format(‘woff’),
    url(‘www.nhmigration.com/wp-content/themes/x-child/byekan.ttf’) format(‘truetype’),
    url(‘www.nhmigration.com/wp-content/themes/x-child/byekan.svg#byekan’) format(‘svg’);
    font-weight: 500;
    font-style: normal;
    }

    From this point, I don’t know what to do. I have no css knowledge. Please confirm I did the right thing in the above 3 steps and let me know how I can have the custom font used on the theme.

    I appreciate your quick response.

    Regards,
    Abbas

    #1384160
    aahmadi1979
    Participant
    This reply has been marked as private.
    #1384376
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! Please follow this post (https://community.theme.co/forums/topic/adding-custom-font-to-theme-customizer/#post-184533).

    Hope that helps.

  • <script> jQuery(function($){ $("#no-reply-1384157 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>