-
AuthorPosts
-
January 24, 2016 at 12:05 am #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
January 24, 2016 at 3:49 am #570655Hey 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,
ElliottJanuary 24, 2016 at 3:17 pm #570795Hi Elliot
Please see the link in the private box
January 24, 2016 at 4:49 pm #570823Further 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
January 25, 2016 at 8:28 am #571138Hi,
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,
RikardJanuary 25, 2016 at 6:40 pm #571534No 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?
January 26, 2016 at 7:54 pm #572319Hello – any thoughts on this please?
January 26, 2016 at 8:09 pm #572333Hi!
Can you share with us backend access, so we can give it a look?
Cheers!
BasilisJanuary 26, 2016 at 8:12 pm #572335yes do you mean admin access or ftp ?
January 26, 2016 at 9:36 pm #572379Ok 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…
January 27, 2016 at 1:21 am #572484Hello – please see the private box below for login details… i look forward to a resolve on this simple issue. Many thanks!
January 28, 2016 at 10:35 pm #574148Hi!
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!
AndyFebruary 3, 2016 at 5:29 pm #577190Sorry 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.
February 5, 2016 at 6:31 am #578284Hi!
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,
IsmaelFebruary 5, 2016 at 2:59 pm #578515Hi 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
February 7, 2016 at 6:47 am #579130Hi!
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 -
AuthorPosts
- You must be logged in to reply to this topic.