Change Font "Sans-Serif" - by Elimy

This topic has 6 replies, 4 voices, and was last updated 9 years, 4 months ago ago by Jack Richardson

  • Avatar: Elimy
    Elimy
    Participant
    July 27, 2015 at 11:08

    Hey.

    I prefer to ask before to change anything and make a mistake.

    On Internet Explorer, the font isn’t very nice. I guess it’s because the browser haven’t got the font “Raleway” and this is the font “sans-serif” that appears. But it is not very nice so I would like to change it.
    I think that I cannot change it in Theme Option > Typography.. but I need to change it directly in the style.CSS ?

    Can you confirm and tell me exactly the way to change the font ?

    Thanks a lot !

    Eli

    5 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    July 27, 2015 at 14:11

    Hello,

    Try to use this code in Theme Options > Custom CSS > Global Custom CSS:

    p {
      font-family: Arial !important;
    }

    Regards,
    Eva Kemp.

    Avatar: Elimy
    Elimy
    Participant
    July 27, 2015 at 14:29

    This is not only for <p> but also for Menu and titles…
    To keep “Raleway” by default, can I add the code ?

    .menu > li a {
    font-family: 'Raleway', Arial !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', Arial !important;
    }

    Thank you !

    Avatar: Robert Hall
    Robert Hall
    Support staff
    July 27, 2015 at 14:49

    Hello,

    Would be better if you will add this code in Custom CSS via separated for the elements which need to change like you wrote above.

    .menu > li a,
    h1, h2, h3, h4, h5, h6,
    p{
    font-family: 'Raleway', Arial !important;
    }

    Regards,
    Robert Hall.

    Avatar: Elimy
    Elimy
    Participant
    July 27, 2015 at 14:55

    perfect !! Many thanks to the team 🙂

    Eli

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 27, 2015 at 15:03

    Hello,

    You’re welcome.

    Best regards,
    Jack Richardson.

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Change Font "Sans-Serif"’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.