[Resolved] Set default font globally

Home Forums Support [Resolved] Set default font globally

Home Forums Support Set default font globally

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #204491
    Ramesh Srinivasan

    Hi,

    I’m using the default (inherit) option in the Customizer at present, but would like to change it to Segoe UI for the entire site, including p, h1, h2, h3..etc, navigation, sidebar and everything.

    Is there a way to do it without editing the theme CSS file.. for example, using Simple CSS?

    My second question is, are there any light-weight replacements for Font Awesome? FA is really nice, but it consumes around 1GB of traffic (daily) in my site.

    Thanks,

    #204507
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You would set it to the Body element, and then have everything else set to inherit.

    That should do it πŸ™‚

    #204513
    Ramesh Srinivasan

    Thanks, Tom. However, Customizer doesn’t list Segoe UI in the drop-down box.

    #204516
    Tom
    Lead Developer
    Lead Developer

    Then you’ll need to use CSS like this:

    body {
        font-family: font-name, Arial, sans-serif;
    }

    However, you’ll want to set a backup font like Arial and sans-serif as not everyone will have that font installed on their computer, so they won’t see it.

    #204526
    Ramesh Srinivasan

    Will try that CSS.
    Thanks again!

    #204527
    Tom
    Lead Developer
    Lead Developer

    You’re welcome πŸ™‚

    #204537
    Ramesh Srinivasan

    Update: Works flawlessly.

    #204610
    Tom
    Lead Developer
    Lead Developer

    Awesome πŸ™‚

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.