
-
AuthorPosts
-
July 26, 2014 at 9:12 am #296172
Hello,
1) I would like to change the body font
For the moment :
body {font-family: ‘Open Sans’, ‘HelveticaNeue’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif;By using the font Georgia, I wouldlike to do it for all the pages of the website.
2) I would like also to change the H4 style
font-size: 18px; in 14px and
noHow can I do this ?
-
This topic was modified 10 years, 11 months ago by
tccompany.
July 28, 2014 at 11:05 am #296654Hi tccompany!
1- Please go to Enfold theme options > General Styling > General and choose Georgia under “Defines the Font for your body text”
2- Please go to Enfold theme options > Advanced Styling and choose H4 element and customise as neededBest regards,
YigitAugust 1, 2014 at 10:21 pm #298950THanks Yigit,
And where can I change the size of the text in the Body ? for the moment 13px I would like to set 12px.
I don’t find it it the dropdown list in Advanced Styling
Thanks
RegardsAugust 1, 2014 at 10:27 pm #298953Hey!
Try adding this code to the Quick CSS:
body{ font-size: 12px !important; }
Cheers!
JosueAugust 2, 2014 at 8:06 pm #299181Hey Josue,
Thanks It works !
One more question, I changed the font of the body text in Georgia, through theme options > General Styling > General and chose Georgia under “Defines the Font for your body text”.
But how change also the fonts of Headings in Georgia because in the dropdown list of Font Family in the “Advanced Styling” there is no Georgia.
Do I need to add it also manually in the Quick CSS:
How can I do ?
Thanks
RegardsAugust 2, 2014 at 8:25 pm #299189Hey!
Try adding this at the very end of your theme functions.php file:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Georgia'] = 'Georgia'; return $fonts; }
Cheers!
JosueAugust 2, 2014 at 9:04 pm #299195Hey Josue,
I tried it but it doesn’t work.
As you can see all the Heading are still in font-family: ‘Open Sans’, ‘HelveticaNeue’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif;
http://www.asquarepartners.com/
REgards
SebastienAugust 2, 2014 at 9:23 pm #299197Hey Sebastien!
After adding that code you need to change the heading font in the Theme Options, you should be able to see “Georgia” on that list.
Best regards,
JosueAugust 3, 2014 at 7:28 am #299270Hey Josue,
I did but I don’t see the “Georgia” font in the list of Headings through Enfold Theme Options “Advanced Settings”.
Do you have another solution ?
Regards,
SebastienAugust 3, 2014 at 10:04 am #299312Hi Sebastien,
Can you please create me an administrator account? post it here as a private reply.
Regards,
JosueAugust 3, 2014 at 12:06 pm #299318This reply has been marked as private.August 3, 2014 at 8:23 pm #299407Hey Sebastian!
Check it now, Georgia is now added available as a Heading font.
Best regards,
JosueAugust 3, 2014 at 9:00 pm #299414Hey Josue,
Thanks a lot for that !
Regards,
SebastienAugust 3, 2014 at 9:04 pm #299418You are welcome Sebastian, always glad to help :)
P.S. I used a plugin called Functionality that stores this custom function, that way it will resist theme updates.
Regards,
JosueAugust 3, 2014 at 9:26 pm #299437OK great thanks for your help and the explanation.
Regards,
Sebastien -
This topic was modified 10 years, 11 months ago by
-
AuthorPosts
- The topic ‘Custom fonts body’ is closed to new replies.