-
AuthorPosts
-
January 28, 2015 at 3:45 am #193263
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
January 28, 2015 at 8:28 pm #193948Hi 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.
February 5, 2015 at 12:47 pm #199884This reply has been marked as private.February 5, 2015 at 9:35 pm #200197Hi 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!
March 18, 2016 at 6:27 pm #843743I don’t know CSS. How do I add the font to a directory on my site?
March 19, 2016 at 12:02 am #843989Hi 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!
-
AuthorPosts