Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #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
    no

    How can I do this ?

    • This topic was modified 10 years, 11 months ago by tccompany.
    #296654

    Hi 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 needed

    Best regards,
    Yigit

    #298950

    THanks 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
    Regards

    #298953

    Hey!

    Try adding this code to the Quick CSS:

    body{
    font-size: 12px !important;
    }

    Cheers! 
    Josue

    #299181

    Hey 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
    Regards

    #299189

    Hey!

    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!
    Josue

    #299195

    Hey 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
    Sebastien

    #299197

    Hey 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,
    Josue

    #299270

    Hey 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,
    Sebastien

    #299312

    Hi Sebastien,

    Can you please create me an administrator account? post it here as a private reply.

    Regards,
    Josue

    #299318
    This reply has been marked as private.
    #299407

    Hey Sebastian!

    Check it now, Georgia is now added available as a Heading font.

    Best regards,
    Josue

    #299414

    Hey Josue,

    Thanks a lot for that !

    Regards,
    Sebastien

    #299418

    You 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,
    Josue

    #299437

    OK great thanks for your help and the explanation.

    Regards,
    Sebastien

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Custom fonts body’ is closed to new replies.