• Resolved Motivology LLC

    (@motivology-llc)


    Hi. I searched every page on here but could not find the thread or the answer I’m looking for.

    Where/how do I change the font name/family for the whole website like the header, pages (links at the top as well), links, content, submenu, etc.?

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • kaniamea

    (@kaniamea)

    To change the font for the whole site you can add this to your child style.css or Custom CSS:

    body {
        font-family: Arial, Helvetica, sans-serif; // this example will change the font to Arial, Helvetica, sans-serif
    }
    Thread Starter Motivology LLC

    (@motivology-llc)

    How do I know which one is for the header, the page navigation links, content, etc.? I will be adding it in the child style.css

    kaniamea

    (@kaniamea)

    This should make the font the same for all.

    There’s different places throughout the style.css that have font families, so the “body” won’t work (almost though), unless you were to put that with an !important such as:

    body {
    font-family: arial, helvetica, sans-serif!important;
    }

    Adding !important will override the other font family locations.
    Were you wanting the same font for everything or just parts?

    Thread Starter Motivology LLC

    (@motivology-llc)

    I don’t want the same font for everything, I would like to use different fonts for different parts. Like I want to change the navigation links (or tabs) on top – Home, About Us, Services, and etc. – to another font. Not to Optima because that is being used for the name of the website (Motivology). Right now, those navi links are what I’m trying to change. Everything else is good for now.

    Let me know if this does not make sense.

    For the menu, the styling for this is found in the menu.css file around line 56:

    .main-navigation li {
    list-style: none;
    background-image: none;
    margin-top: 20px;
    padding-left: 0;
    font-family: ubuntu-light,abel,sans-serif;
    font-size: 1em;
    line-height: 1.42857143;
    }

    The font used is a google one called Ubuntu-light, followed by the others if someone cannot view the Ubuntu font. So for you, changing the font family and styling for this will do it:

    .main-navigation li {
    }
    Thread Starter Motivology LLC

    (@motivology-llc)

    Works for me – thank you for your help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Changing Font Name/Family’ is closed to new replies.