- This topic has 5 replies, 2 voices, and was last updated 5 years, 9 months ago by Skandha.
-
AuthorPosts
-
May 15, 2018 at 11:44 pm #145804jeanette.denham1Participant
Hello there
I have a clean education pro theme and would like to customise the site title font – the included font families do not match my needs.
How might I add a custom css to achieve this?May 16, 2018 at 2:01 am #145813SkandhaParticipant@jeanette-denham1: Please let me know which font do you want to apply to the site title so that I can provide you the necessary CSS Code.
Kind Regards,
SkandhaMay 17, 2018 at 8:15 am #145972jeanette.denham1ParticipantHi Skandha
I would like to use the font Zapfino.Regards
May 18, 2018 at 6:08 am #146062SkandhaParticipant@jeanette-denham1: You need to first create a child theme for this purpose. If you do not know how to create a child theme you can use Generate Child Theme Plugin.
After creating child theme go to the child theme folder and create a new folder fonts. Paste all the required fonts file in that folder.
Go to => Child Theme Folder => style.css and add the following CSS Code.
@font-face { font-family: zapfino; src: url("fonts/ZapfinoExtraLT-One.otf"), url("fonts/ZapfinoExtraLTPro.otf"), url("fonts/ZapfinoExtraLT-Two.otf"), url("fonts/ZapfinoForteLTPro.otf"); font-weight: normal; }
Replace the file name with your font file names.
Go to => Appearance => Customize => Additonial CSS and add the following CSS Code.
.site-title { font-family:zapfino; font-size:100px; }
You can change the font-size according to your requirement.
Let me know if this works out.
Kind Regards,
SkandhaJuly 19, 2018 at 9:05 am #149927jeanette.denham1ParticipantHi Skandha
Thanks for your help – I have been a bit busy but finally got around to attempting this. I haven’t had any luck making it work so far. Do I just put the code at the end of the CSS? It doesn’t look like real CSS – it just includes a lot of generic information about the site. Is this typical of a child theme CSS?
Also, just to clarify, do I add the url of the site, or do I leave it at ‘url’ as you have above?
Cheers
Jeanette DenhamJuly 20, 2018 at 4:44 am #149973SkandhaParticipant@jeanette-denham1: If you follow the instruction I gave above step by step you should be able to use the font on your site.
If you are having trouble making it work you can always hire a customizer.Kind Regards,
Skandha -
AuthorPosts
- The topic ‘Customising Site Title Font’ is closed to new replies.