Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #109346
    noscollections
    Participant

    Hello,

    I need Font “A” for my menu and font “B” for the other texts

    If I change defaut Police I change all the site font.
    Could I change only text menu font ?

    Thank’s for your help

    #109402
    Pratik
    Keymaster

    Hi @noscollections,

    Yes you can do that. But I will need your site url and font names. Please provide me those and I will help you further.

    Regards,
    Pratik

    #109552
    noscollections
    Participant

    Hello,

    Thanks for your help, here the info :

    http://www.safran-structil.com/

    “Oswald”, sans-serif

    that could be good to have the possibility to change in “Fonts option”

    Best regards

    #109560
    Pratik
    Keymaster

    Hi @noscollections,

    I checked your site and the menus are taking Oswald font. Am I missing something?

    #109561
    noscollections
    Participant

    Hi Pratik,
    I Have put the site defaut font in oswald but I need the site in sans serif arial

    I change the defaut font in arial. Sorry

    Now, I “only” need to change the menu font. And it will be perfect

    #109563
    Pratik
    Keymaster

    Hi @noscollections,

    Try Following code in Appearance=> Customize=> Additional CSS:

    
    @font-face {
      font-family: 'Oswald';
      font-style: normal;
      font-weight: 400;
      src: local('Oswald Regular'), local('Oswald-Regular'), url(https://fonts.gstatic.com/s/oswald/v12/DgBpgaYycijFA8v2hNt7MfesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
      unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
    }
    
    #access {
        font-family: 'Oswald', sans-serif;
    }
    

    Let me know how it goes.

    Regards,
    Pratik

    #109590
    noscollections
    Participant

    Hi, it’s me again 🙁

    it doesn’t work.

    Defaut Font is “sans serif arial”

    My Additional CSS:

    #hgroup-wrap, #hgroup,  { padding: 0; }
    .site {
        width: 100%;
    margin-top: 0px;
    }
    
    @font-face {
      font-family: 'Oswald';
      font-style: normal;
      font-weight: 400;
      src: local('Oswald Regular'), local('Oswald-Regular'), url(https://fonts.gstatic.com/s/oswald/v12/DgBpgaYycijFA8v2hNt7MfesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
      unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
    }
    
    #access {
        font-family: 'Oswald', sans-serif;
    }

    In dev module of firefox, it told me : Arial system for menu item

    If I change defaut font of the theme by Oswald,
    All the site are change and firefox told me in police inpector of the item :
    Oswald regular distance
    with the same code you write :@font-face {….}

    except : http://fonts.gstatic.com/s/oswald/v12/pEobIV_lL25TKBpqVI_a2w.woff2)

    I have test it, but without succes 🙁

    any idea ?

    #109645
    noscollections
    Participant

    Hi,

    The night is good advice, I found the problem

    le font was not load, so I ask google another code and this one is good for me :

    @font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; src: local('Oswald Regular'), local('Oswald-Regular'), url(http://fonts.gstatic.com/s/oswald/v12/pEobIV_lL25TKBpqVI_a2w.woff2) format('woff2'); }
    
    #access {
        font-family: 'Oswald', sans-serif;
    }

    Thanks Pratik for your help

    #109670
    Pratik
    Keymaster

    Hi @noscollection,

    Thank you for solving the issue further and posting the answer.

    Regards,
    Pratik

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Font menu and font content’ is closed to new replies.