Tagged: font weight
-
AuthorPosts
-
October 14, 2016 at 1:10 pm #699086
hi enfold-team, i want to use the Source Sans pro an have done this:
/* * new font in the enfold font-menue: https://kriesi.at/support/topic/new-custom-font/#post-121900 */ add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Source Sans Pro'] = 'Source Sans Pro:200,300,600,900'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Source Sans Pro'] = 'Source Sans Pro:200,300,600,900'; return $fonts; }Selected is:
– Heading font: Source Serif Pro
– Defines the Font for your body text”: Source Sans ProNow the menue has no bold style anymore and the p-text is very, very thin.
When i try to give them a weight of 600 (via Browser-Style or css), the text is reacting only very minimal.How can i control the font-weight?
October 14, 2016 at 1:12 pm #699088Hey sandra-schwaiger!
You can add a custom CSS for the p, so you can select the Weight of the font
Example:p { font-weight: 300; }
let us know if we can do anything else for you, we will be happy to help
Best regards,
BasilisOctober 14, 2016 at 1:31 pm #699094hi basilis, i added this in my childtheme and tried it also to simulate this as inline-style with my browser: the font is getting only e very little bit darker , but does not change his weight.
please take a look to my website (in the Private Data FIeld) – thanks!
October 17, 2016 at 6:14 pm #700165Hi Basilis, is my question less accurate or not relevant?
October 17, 2016 at 6:50 pm #700184hi basilis, i have found a workaround.
October 17, 2016 at 7:10 pm #700195Hey!
Happy you could solve it.
Feel free to let us know if we can help you with any other way.Thansk a lot
Regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.
