-
AuthorPosts
-
January 25, 2017 at 6:02 pm #738504
Hi guys, I love this theme!
Let´s see. I´m trying to add Raleway font and I had added this code (below) in the functions.php.
I need the lighter versions of the font. (Extra light and light).
But although I´ve added them, those styles don´t appear in the Advanced General Styling dropdown menus. Only Normal, Bold, Claro and By default.
Am I doing something wrong?add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Source Raleway’] = ‘Raleway Light:300’;
return $fonts;
}add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{
$fonts[‘Source Raleway’] = ‘Raleway Extra-Light:200’;
return $fonts;
}thanks!
January 25, 2017 at 6:53 pm #738519Hey
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
YigitJanuary 25, 2017 at 7:11 pm #738528Here you are.
Thanks
January 25, 2017 at 7:36 pm #738534Hi!
I am redirected to following page in which, nothing shows up :)
Best regards,
YigitJanuary 25, 2017 at 7:40 pm #738536Oh, perhaps the server has some countries in black lists.
Could you tell me your IP so they put you in a white list?Thanks.
January 26, 2017 at 11:34 am #738838You can try the same issue in this other site I´m giving you.
(Nonetheless give me your IP to put you in white list. Or tell me in which country are you.)Thanks!
January 26, 2017 at 12:09 pm #738850Hey!
I adjusted the code and added 100,200,300 and 400 font weights for Raleway. You would need to apply custom CSS code to apply those weight to your texts. If you can point out the changes you would like to make, we can provide you custom CSS code
Regards,
YigitJanuary 26, 2017 at 2:20 pm #738939Yes, I would need to have the possibility to apply the changes I show you in private content, at Home page.
If you provide me with the custom CSS code it will be great.Thanks!
January 27, 2017 at 4:10 pm #739443Hi,
Please enable the custom css class field: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then edit your Special Heading elements and give them a custom CSS class “light-font” and “extra-light-font” and then add following code to Quick CSS in Enfold theme options under General Styling tab
.light-font .av-special-heading-tag { font-weight: 300!important; font-family: raleway!important; } .extra-light-font .av-special-heading-tag { font-weight: 100!important; font-family: raleway!important; }
Best regards,
YigitJanuary 28, 2017 at 4:04 pm #739718Thank you very much Yigit!!
January 28, 2017 at 11:02 pm #739823Hi,
Glad we could help!
Please take a moment to review our theme on themeforest https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Vinay -
AuthorPosts
- The topic ‘Adding new fonts’ is closed to new replies.