Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #193263

    Tim M
    Participant

    Hello i would like to change my whole sites default font to Gill Sans – can this be easily done through the theme?

    http://rsaacademyits.com/rsa-new/

    i eagerly await your reply

    #193948

    Paul R
    Moderator

    Hi Tim,

    If you haven’t done yet please have your font converted – http://www.font2web.com/
    It will provide your file to eot,woff,ttf,svg to make your font work on most browsers.

    You can then create a fonts folder in wp-content/themes/x-child-integrity-light and add your font files in there.

    Lastly add this under Custom > CSS in the Customizer.

    
    @font-face {
      font-family: 'GillSans';
      src: url('http://rsaacademyits.com/rsa-new/wp-content/themes/x-child-integrity-light/fonts/GillSans.eot');
      src: url('http://rsaacademyits.com/rsa-new/wp-content/themes/x-child-integrity-light/fonts/GillSans.eot?#iefix') format('embedded-opentype'),
           url('http://rsaacademyits.com/rsa-new/wp-content/themes/x-child-integrity-light/fonts/GillSans.woff') format('woff'),
           url('http://rsaacademyits.com/rsa-new/wp-content/themes/x-child-integrity-light/fonts/GillSans.ttf')  format('truetype'),
           url('http://rsaacademyits.com/rsa-new/wp-content/themes/x-child-integrity-light/fonts/GillSans.svg#svgFontName') format('svg');
    }
    
    body {
        font-family: 'GillSans' !important;
    }
    

    Change GillSans with the filename you have saved in the fonts folder.

    Hope that helps.

    #199884

    mrfrosty404
    Participant
    This reply has been marked as private.
    #200197

    Kory
    Keymaster

    Hi mrfrosty404,

    We ask customers not to post the same question in multiple threads as this will only slow down a response from our team. A member of our development team will be happy to answer your question on the other thread just as soon as it is up (all questions are answered in the order they are received).

    Many thanks!

    #843743

    Hartigan
    Participant

    I don’t know CSS. How do I add the font to a directory on my site?

    #843989

    Friech
    Moderator

    Hi There,

    Thanks for writing in! Please follow this thread: https://community.theme.co/forums/topic/adding-custom-font-to-theme-customizer/#post-184533

    You need to login to your server via FTP client application like FileZilla client and get your FTP credentials from your hosting or create one on your Cpanel.

    Hope it helps, Cheers!