-
AuthorPosts
-
April 15, 2016 at 2:52 pm #614864
Hallo Yigit,
du hattest bei meinen Custom Fonts etwas geändert damit diese funktionierten. Leider hab ich ein Update gemacht ohne groß zu überlegen und dabei wurde dies überschrieben. Zudem hattest du leider nicht geschrieben was Du genau geändert hast.
Vielleicht kannst du mir das schicken und ich ändere es selbst dann weiß ich es für die Zukunft.Vielen Dank.
Gerne kann der Thread auch hinterher wieder gelöscht werden, der andere war nur gesperrt das ich nichts mehr ändern konnte.April 15, 2016 at 3:06 pm #614876Hallo!
Sorry, i do not speak German :(
Can you please create a temporary admin login and post it here privately so i can check again? :)
Best regards,
YigitApril 15, 2016 at 9:15 pm #615149Sorry thought you answered in german as Kriesi is from Austria. I added it to the private part.
Thanks.April 15, 2016 at 9:37 pm #615166Hey!
We have limited german speaking members in our team but most of us speak english so I guess you get faster support. If you like german support that won’t be an issue :)
The site looks good on my end please see screenshot attached. Try to hard reload and empty browser cache and review the site again.
To do a hard refresh… First press F12 to open the Chrome Dev Tools then hold down Ctrl and click on the Reload button.
Cheers!
VinayApril 15, 2016 at 10:11 pm #615181No english is fine!
Yeah looks fine but it’s not using the two custom fonts I would like to use such as “Unica one” for Headings and “Roboto Slab” for the Content.I added the following to my functions.php
* This is only recommended for advanced users */ if(isset($avia_config['use_child_theme_functions_only'])) return; /* Additonal Google Fonts */ add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Unica One'] = 'Unica+One'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Roboto Slab'] = 'Roboto+Slab:400,100,700'; return $fonts; }
But nothing happens really. I also tried @import the fonts in my custom.css but still gets ignored.
April 18, 2016 at 12:43 pm #616375Hey!
Do you mind creating a temporary admin login and posting it here privately so we can look further into the issue? :)
Best regards,
YigitApril 18, 2016 at 1:40 pm #616450Aattached are the Details.
Thanks again.April 18, 2016 at 1:54 pm #616465Perhaps you can just let me know which files you edited and then I can back them up.
Thanks.April 18, 2016 at 11:23 pm #616897Hi!
I have changed the code to following one
/* Additonal Google Fonts */ add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Unica One'] = 'Unica One'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Roboto Slab'] = 'Roboto Slab:100,400,700'; return $fonts; }
Please review your website now
Cheers!
YigitApril 19, 2016 at 8:48 am #617217Ok thanks, I backup everything. Updated the theme, copied back the code snippet and chose font and everything is now working fine.
Thanks a lot.Perhaps an idea to update the Documentation to your code ;)
April 19, 2016 at 12:06 pm #617310Hey!
Glad it is working fine now!
I copied the code from our documentation then adjusted it :)Best regards,
Yigit -
AuthorPosts
- The topic ‘Custom Fonts – Again’ is closed to new replies.