Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #109713
    F
    Participant

    I would like to change the font on the menu that appears in the top bar. How do I accomplish this?

    Thank you.

    #109746
    Pratik
    Participant

    Hi @F,

    Which font do you want for primary menu.

    Regards,
    Pratik

    #109834
    F
    Participant

    Hi Pratik,

    I’m not certain, I’d like to demo a few options for my client. Can you give me the method, and then I guess I would insert the font family and try a few different ones until I find one I like.

    Is the font for the primary menu bar the same as the body font?

    #109913
    Pratik
    Participant

    Hi @F,

    If you want google font or other online fonts first you need to add this code:

    
    @font-face {
        font-family: myCustomFont;
        src: url('link_to_source');
    }
    

    If your font is websafe, no need to do above.

    Then, for primary menu, try following code:

    
    #site-header-menu {
        font-family: myCustomFont;
    }
    

    Regards,
    Pratik

    #109915
    Pratik
    Participant

    Font for primary menu and body can be set different if you need.

    #110003
    F
    Participant

    Many thanks for your help, Pratik. The website is coming together nicely.

    Cheers,
    F

    #110047
    Pratik
    Participant

    Hi @F,

    You are welcome 🙂 .

    Regards,
    Pratik

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘How to change font on primary top menu’ is closed to new replies.