Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #570637

    Hello

    My website has Open Sans selected as one of the fonts to be used, and in the custom CSS i have specified that i want the light version i.e font-weight:300; and this looks fine in firefox, however in Chrome, it doesnt load the light version. I know that Enfold loads Open Sans font but i dont know if it is loading the 300 weight version also… please can you tell me if it is or not, and if it is not, then let me know how i can specify that enfold also loads the 300 weight version.

    Thanks

    #570655

    Hey mrcityrunner!

    Send us a link to your page and we’ll take a look. You can set your reply as private if you wish.

    Regards,
    Elliott

    #570795

    Hi Elliot

    Please see the link in the private box

    #570823

    Further to my response above, if you look on the homepage, above the testimonials section there is a downward arrow that is not supposed to be there and I did not put it there or specify that section as having the bottom arrow. The only bottom arrow i specified was in the “View designs” strip which is fine so please can you tell me how to remove the bottom arrow immediately above the testimonials section as well as a fix to my original question. Thanks

    #571138

    Hi,

    As far as I could see using the What Font plugin for Chrome the 300 weight is being used, please be aware that different fonts will display differently in different browsers.

    Try the following in Quick CSS to hide the arrow:

    .home #after_section_1 .border-extra-arrow-down {
    display:none !important;
    }
    

    Regards,
    Rikard

    #571534

    No you are mistaken… whilst it shows in the code that its font weight 300 (because i did that in the css), its not loading that font weight. Therefore, I need to know how i can get the font weight of 300 for open sans into this enfold theme. Its NOT loading it because its not been specified in the theme anywhere – it looks like its only font weight 400 thats been set to load in enfold. Any idea?

    #572319

    Hello – any thoughts on this please?

    #572333

    Hi!

    Can you share with us backend access, so we can give it a look?

    Cheers!
    Basilis

    #572335

    yes do you mean admin access or ftp ?

    #572379

    Ok i will provide the admin login in my next post in the private box. Please can you fix this problem – open sans font weight 300 is not loading in the theme… how can i add it? i have specified some headings to be in weight 300 but they are not loading…

    #572484

    Hello – please see the private box below for login details… i look forward to a resolve on this simple issue. Many thanks!

    #574148

    Hi!

    login link does not work for me. Please check and let us know when you are ready.

    Also try to deactivate all plugins, to check if one is causing this issue and let us know about your results.

    Does it work for you when activating a default WordPress theme?

    Cheers!
    Andy

    #577190

    Sorry the correct login details are in the private box – please tell me why Open Sans font weight 300 does not load in enfold. Its not a conflict – its just a case of it probably not being spcified in the enfold theme… i look forward to your prompt reply.

    #578284

    Hi!

    Supported font weights for open sans are 400 and 600 but you can add this filter in your child theme’s functions.php file:

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Source Sans Pro'] = 'Source+Sans+Pro:400,200,200italic,300,300italic,400italic,600,600italic,700,700italic,900,900italic';
    $fonts['Noto Serif'] = 'Noto+Serif:400,400italic,700,700italic';
    $fonts['Open Sans New'] = 'Open+Sans:200,300,400,600,800';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Google fonts']['Source Sans Pro'] = 'Source+Sans+Pro:400,200,200italic,300,300italic,400italic,600,600italic,700,700italic,900,900italic';
    $fonts['Google fonts']['Noto Serif'] = 'Noto+Serif:400,400italic,700,700italic';
    $fonts['Google fonts']['Open Sans New'] = 'Open+Sans:200,300,400,600,800';
    return $fonts;
    }

    We added new weight for the open sans plus two other google fonts. Please select the Open Sans New in the General Styling > Fonts pane.

    Regards,
    Ismael

    #578515

    Hi Ismael

    Thanks for your reply, but I have no functions.php file in my child theme.

    I tried adding the above code to the enfolds functions.php file and checked the General Styling > Fonts section and there was no mention of the Open Sans New font. I then tried implementing the code in the functions-enfold.php file and again the open sans new font didnt show up.

    Please tell me exact steps to take to make this work and also how I can use the above code in a functions.php file in my child theme called edf? It would be much quicker and more helpful to me if you can simply do it by logging into the admin/ftp and making it work so I can then learn from what you did.

    thanks

    #579130

    Hi!

    You can create a new functions.php file in the child theme then add the code. For more information, please refer to this link: https://codex.wordpress.org/Child_Themes#Using_functions.php

    Or provide the FTP details so that we can add it for you.

    Best regards,
    Ismael

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.