Typeface
Permalink Browser Info Environment
Hi folks! Great theme - enjoying working with it! Just wondering if there is an easy way to change the fancy header font - the script style typeface - looks like maybe a Google font? I'd like to see if there is something which works a wee bit better for me. Thanks!!
Type: | Pre-Sale |
---|---|
Status: | In Progress |
David, many thanks for the speedy and comprehensive reply. At least sounds do-able!
Best
John
Best
John
No worries John,
Please let me know how you get on.
Regards
David
Please let me know how you get on.
Regards
David
argg.. wouldn't be me if something didn't work. Sorry David, I have followed instructions but not working as expected. The Typeface has changed - so something is working.
The uploaded files I have checked, but when checking using Chrome Dev tools, the typeface is still reading 'Petit Formal Script'. I have cleared cache in Chrome and in C5 dashboard and using ftp (/public_html/files/cache)... but my customise.css (or /public_html/packages/minima/themes/minima/inc/header.php) doesn't seem to be getting picked up :(
I have attached the two new files for your info.. and the web address ishttp://www.johnrharrison.uk - maybe you could have a look when you get a mo.
Thanks again
John
The uploaded files I have checked, but when checking using Chrome Dev tools, the typeface is still reading 'Petit Formal Script'. I have cleared cache in Chrome and in C5 dashboard and using ftp (/public_html/files/cache)... but my customise.css (or /public_html/packages/minima/themes/minima/inc/header.php) doesn't seem to be getting picked up :(
I have attached the two new files for your info.. and the web address ishttp://www.johnrharrison.uk - maybe you could have a look when you get a mo.
Thanks again
John
Hi John,
Have you altered anything using the customise options yet, prior to changing your fonts?
If you have they, do have a rather nasty habit of very aggressively caching, the only thing that seems to kick it out, is reseting the theme customisations.
In the customise settings right down the bottom next to the save button, you should have a reset button, hitting that should then allow the new fonts to be rendered.
The only other thing I can think of is maybe your customise.css didn't actually save, when you open up customise.css do you still see "Petit formal script" in your font declarations or are you seeing your new font name that you changed it to? if you are seeing your new font name then its almost definitely the cache playing up.
Regards
David
Have you altered anything using the customise options yet, prior to changing your fonts?
If you have they, do have a rather nasty habit of very aggressively caching, the only thing that seems to kick it out, is reseting the theme customisations.
In the customise settings right down the bottom next to the save button, you should have a reset button, hitting that should then allow the new fonts to be rendered.
The only other thing I can think of is maybe your customise.css didn't actually save, when you open up customise.css do you still see "Petit formal script" in your font declarations or are you seeing your new font name that you changed it to? if you are seeing your new font name then its almost definitely the cache playing up.
Regards
David
David, I had played with the customise options - looking for how to change typeface ha!...
Resetting has solved the issue! - thanks again! Now please go have a coffee!
John
Resetting has solved the issue! - thanks again! Now please go have a coffee!
John
Glad its sorted John.
I dont think I could drink more coffee if I tried ;)
Regards
David
I dont think I could drink more coffee if I tried ;)
Regards
David
Sadly there is not an easy way to change the font, Concrete5 has a small selection of baked in fonts for use in the editor, and they are a kind of closed garden, which is why theme developers opt for using Google fonts and hard coding them in.
They can be changed, its just a little more effort than most people would like, but to change the fonts please follow these steps:
Before editing any of your files please take a backup of the files I direct you to, so you can restore them should anything go wrong.
1/ Enter your sites files via FTP or your hosting accounts file manager.
2/ In your concrete5 install go to:
packages ▸ minima ▸ themes ▸ minima ▸ header.php
on line 23 you should see this piece of code:
this is the google font for the petit formal script (the fancy hand writing type affair).
3/ Replace that line of code with the reference to the Google font you wish to use, and save it.
4/ While still in your sites files go to:
packages ▸ minima ▸ themes ▸ minima ▸ customise.css
Open up customise.css and look for any reference to the following:
'Petit Formal Script'
Searching for this will be much quicker if you have a text/code editor with a find and replace function.
5/ Wherever there is a reference to 'Petit Formal Script' replace that with the name of your new font as given to you by Google fonts, for example 'Open Sans' etc, then save the file.
Sorry its not a bit easier, but if you don't mind a bit of diving into your sites files, it should work out fine. any questions or issues please dont hesitate to get in touch.
Regards
David