Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1024007
    Matthieu
    Participant

    Hey there,

    I’d like to install Fira Sans on my new UberMenu.
    I understood that I need to do so by creating a child theme and then adding some code to functions.php.
    Would you please give me that code ?

    Thank you by advance for your help !

    #1024336
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! Please refer to the following resource (http://sevenspark.com/docs/ubermenu-3/faqs/font).

    Hope that helps.

    #1024347
    Matthieu
    Participant

    I had a look at this exact page but couldn’t find out how to do it.
    Would you be nice and have a look ?
    I’ll give you user and password in the next message if you’re ok.

    #1024351
    Matthieu
    Participant
    This reply has been marked as private.
    #1024885
    Jade
    Moderator

    Hi there,

    Please try to add this in Custom JS:

     WebFontConfig = {
        google: { families: [ 'Fira+Sans::latin' ] }
      };
      (function() {
        var wf = document.createElement('script');
        wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
        wf.type = 'text/javascript';
        wf.async = 'true';
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(wf, s);
      })();

    Then add this in Custom > CSS:

    
    .ubermenu .ubermenu-target-text {
      font-family: 'Fira Sans', sans-serif !important;
    }

    Hope this helps.

    #1175075
    salilou
    Participant

    Hi,
    could you please send the code for the google font “Caveat Brush”?
    Thank you!

    #1175236
    Joao
    Moderator

    Hi There,

    Here we go:

    font-family: 'Caveat', Arial, sans-serif;

    Hope that helps

    Joao

    #1178498
    salilou
    Participant

    Yeah, thanks!

    #1178566
    Prasant Rai
    Moderator

    You are most welcome. 🙂

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