-
AuthorPosts
-
May 21, 2018 at 8:03 pm #959932
Hallo, ich möchte gerne auf meiner Webseite die Schrift “Roboto” verwenden. Unter “General Styling” > “Heading Font” kann ich “Roboto” auswählen, unter “Defines the Font for your body text” jedoch nicht. Leider komme ich mit den Anleitungen im Forum nicht weiter. Wie muss ich vorgehen?
May 21, 2018 at 8:56 pm #959966Hi,
Please refer to this post – https://kriesi.at/documentation/enfold/typography/#register-additional-google-fonts-for-theme-options :)
Regards,
YigitMay 21, 2018 at 9:37 pm #959990Hi Yigit,
thank you for your reply. Where do I find the “child themes functions.php”?
Can I also use the Quick CSS?
Regards, zizibe1May 21, 2018 at 9:44 pm #959998Hi,
Funstions.php is found under Appearance > Editor.
Best regards,
Jordan ShannonMay 22, 2018 at 12:18 am #960066Hi Jordan,
thank you for your reply. I added the code below to the “child themes functions.php”, but nothing happened. I still can’t choose “Roboto” when I go to “General Styling” > “Defines the Font for your body text”. What did I wrong?
Regards, zizibe1/* Theme Name: Enfold Child Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold WordPress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then. Version: 1.0 Author: Kriesi Author URI: http://kriesi.at Template: enfold */ /* add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Roboto Condensed‘] = 'Roboto Condensed:400,700'; $fonts['Roboto'] = 'Roboto:400,700,400italic,700italic'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Roboto'] = 'Roboto:400,700,400italic,700italic'; $fonts['Roboto Condensed'] = 'Roboto Condensed:400,700'; return $fonts; } */
- This reply was modified 6 years, 7 months ago by zizibe1.
May 22, 2018 at 4:37 pm #960408Hi,
Remove “/* */” from around the code.
Best regards,
Jordan ShannonMay 22, 2018 at 4:56 pm #960414Hi Jordan,
when I remove “/* */” from around the code, the warning below appears. Should I update anyway?
Best regards, zizibe1There are 28 errors which must be fixed before you can update this file.
☐ Update anyway, even though it might break your site?May 22, 2018 at 5:17 pm #960424This reply has been marked as private.May 22, 2018 at 5:27 pm #960429Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.Best regards,
YigitMay 22, 2018 at 5:42 pm #960441This reply has been marked as private.May 24, 2018 at 3:24 pm #961574Hi zizibe1,
You should be running at least php5.6.3 for the code to work properly. Please consider upgrading your php version.
Best regards,
VictoriaMay 24, 2018 at 3:52 pm #961600Hi Victoria
Thank you for your reply.
Finally, I can choose “Roboto” when I go to “General Styling” > “Defines the Font for your body text”. Did you change something? Or is it because I just updated to Enfold 4.4?
How can I update the php version?
Best regards, zizibe1
May 24, 2018 at 5:43 pm #961742Hi,
I’m not sure if it was the custom code or update. Usually, updating the theme would fix such issues.
To update the PHP version please get in touch with your hosting company :)
Best regards,
VinayMay 24, 2018 at 7:04 pm #961787Hi Vinay,
Thank you for your reply. I removed the custom code and can still choose Roboto as font for my body text. So I guess the update made this possible.
To update the PHP version, I will contact my hosting company. Thanks for your advice.
To the right of “Plugins”, there is always a small number one. When I click on “Plugins”, everything seems alright (no notifications, no updates). Is this a bug?
Best regards,
zizibe1May 24, 2018 at 11:34 pm #961885Hi,
I checked the issue and it appears all plugins are up to date. All though it is not a theme related issue for testing purpose please deactivate all plugins and try a WordPress transients cleaner plugin and clear the transients.
Activate all the plugins back.
If it does not help, I am afraid you need to update the WordPress to fix this.
Best regards,
VinayMay 25, 2018 at 4:05 pm #962229Hi Vinay
Thank you for your replay.
I deactivated all plugins and used the plugin “Transient Cleaner” to clear the transients over night. Then I activated all the plugins back. Unfortunately, it didn’t help. To the right of “Plugins”, there is still a small number one.
In the sidebar, I went to Updates > WordPress Updates > Reinstall now. It didn’t help either.
What else can I do?
Best regards,
zizibe1May 27, 2018 at 4:40 pm #962808Hi zizibe1,
That notification next to the Plugins menu is probably from the Layer Slider, since it’s a plugin and it needs an update it does that sometimes. Not to worry about it.
Are there any more issues?
Best regards,
VictoriaMay 27, 2018 at 5:30 pm #962838Hi zizibe1,
ich bin durch Zufall auf Dein Post gestoßen. Du kannst im Enfold Menü unter “Erweitertes Styling” auch für den “normalen” Text alle Fonts verwenden, die auch für Headlines vorgehalten werden. Einfach das Element <body> auswählen, Element bearbeiten klicken und da siehst dann diverse Möglichkeiten, den Body-Text zu gestalten.
Der Menüpunkt bietet feine Möglichkeiten für eine sehr individuelle Website. Früher musste ich das mit Code lösen, über “Erweitertes Styling” geht das schon fast alles per Click. :)
LG PetraMay 27, 2018 at 8:33 pm #962879Hi Victoria,
Thank you for your reply. If the notification next to the Plugins is only from the LayerSlider of WordPress, it doesn’t bother me. But if I want to update the LayerSlider, I have to purchase it, right? Would you recommend it? What are the differences to the built-in “Advanced Layerslider” of Enfold?
Best regards,
zizibe1May 27, 2018 at 10:18 pm #962889Hi Petra,
“Erweitertes Styling” funktioniert ebenfalls, vielen Dank für den Hinweis.
Seit dem Update auf Enfold 4.4 kann ich die Schrift “Roboto” aber auch unter “Allgemeines Styling” > “Font for your body text” auswählen (vorher hatte die Schrift dort gefehlt). Nutzt du diese Möglichkeit auch, um deine Schriften festzulegen, oder verwendest du ausschliesslich “Erweitertes Styling”?
LG zizibe1
May 28, 2018 at 8:38 am #962973Hi zizibe1,
ich nutze tatsächlich ausschließlich “Erweitertes Styling”, weil ich es mir mit diesen Festlegungen recht einfach machen kann und auch Änderungen später “global” möglich sind.
Ich kann Dir nur empfehlen, Dich mal durch die Funktionen zu klicken. Wie schon gesagt, musste ich die individuellen Einstellungen zuvor alle per Code erledigen. Jetzt geht’s ebenso schnell, aber dafür übersichtlicher.LG Petra
May 28, 2018 at 8:45 pm #963431Hi Petra,
vielen Dank für deine Antwort und den Tipp. Mir ist noch aufgefallen, dass die Schrift “Times New Roman” auf meiner Webseite nicht erscheint, wenn ich Sie als <body> unter “Erweitertes Styling” auswähle. Unter “Allgemeines Styling” hingegen funktioniert es. Ist das bei dir auch so?
LG zizibe1
May 30, 2018 at 1:59 pm #964243Hi,
I have to purchase it, right? Would you recommend it? What are the differences to the built-in “Advanced Layerslider” of Enfold?
There’s not much difference between the paid version and the one included in the theme. There are certain options that are only available on the paid version but you won’t normally use those options. The theme always includes the stable version of those upgrades so you’ll still get the latest features sooner or later.
Best regards,
IsmaelMay 31, 2018 at 2:27 pm #964790Hi Ismael
Thank you for your reply concerning the layerslider.
I’m still having font issues. When I go to Enfold Child > Advanced Styling > Select an element to customize > <body> > Edit Element > Font Family > Times New Roman > Save all changes, my website won’t show the font “Times New Roman”. How can I solve this problem?
Best regards,
zizibe1June 1, 2018 at 6:23 pm #965505Hi,
@zizibe1 please open a new ticket and share the website login credentials in private content area so we can take a closer look at the issue.Best regards,
VinayJune 2, 2018 at 8:49 pm #965967Hi Vinay,
Thank you for your replay.
I created a new topic, title: Times New Roman.
Best regards,
zizibe1June 4, 2018 at 9:24 pm #966820Hi,
Thank you for that, we appreciate it a lot
Best regards,
Basilis -
AuthorPosts
- The topic ‘Roboto’ is closed to new replies.