Tagged: type
Hi guys. Is there a tutorial for expanding the typography in enfold somewhere? I would like to use bolder/lighter/itlaic versions of the standard font (I see it comes in a lot of weights plus italics) on some pages or in sections of a page, use the h1 etc without them being all caps in some places etc. A guide to what code to add or classes to add and where to add to get this sort of thing happening. At the moment it all seems top use one weight font everywhere. I am a bit of a noob at adding custom overrides so a beginner’s guide would be nice. Thanks
Hi michaelearl!
Please see – http://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/
Cheers!
Yigit
Thanks Yigit. I have got the googl;e fonts appearing now as an option and in the standard styles etc. Can you please give me an example of how I would change a specific headline (or text) to be a certain weight like 800 just in a single section not globally – ie sometimes H2 I would want in 800/ italic and sometimes just 800 or lighter?
Hi!
Please turn on custom CSS field for ALB elements ( http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ ) and then give your element a custom CSS class and then add following code to Quick CSS in Enfold theme options under General Styling tab
.your-custom-class h2 { font-weight: 800 !important; font-style: italic !important; }
Cheers!
Yigit