Viewing 27 posts - 1 through 27 (of 27 total)
  • Author
    Posts
  • #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?

    #959966
    #959990

    Hi Yigit,
    thank you for your reply. Where do I find the “child themes functions.php”?
    Can I also use the Quick CSS?
    Regards, zizibe1

    #959998

    Hi,

    Funstions.php is found under Appearance > Editor.

    Best regards,
    Jordan Shannon

    #960066

    Hi 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.
    #960408

    Hi,

    Remove “/* */” from around the code.

    Best regards,
    Jordan Shannon

    #960414

    Hi Jordan,
    when I remove “/* */” from around the code, the warning below appears. Should I update anyway?
    Best regards, zizibe1

    There are 28 errors which must be fixed before you can update this file.
    ☐ Update anyway, even though it might break your site?

    #960424
    This reply has been marked as private.
    #960429

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. 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 ).
    5. Click ” Submit “.
    6. 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,
    Yigit

    #960441
    This reply has been marked as private.
    #961574

    Hi zizibe1,

    You should be running at least php5.6.3 for the code to work properly. Please consider upgrading your php version.

    Best regards,
    Victoria

    #961600

    Hi 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

    #961742

    Hi,

    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,
    Vinay

    #961787

    Hi 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,
    zizibe1

    #961885

    Hi,

    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,
    Vinay

    #962229

    Hi 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,
    zizibe1

    #962808

    Hi 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,
    Victoria

    #962838

    Hi 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 Petra

    #962879

    Hi 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,
    zizibe1

    #962889

    Hi 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

    #962973

    Hi 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

    #963431

    Hi 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

    #964243

    Hi,

    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,
    Ismael

    #964790

    Hi 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,
    zizibe1

    #965505

    Hi,


    @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,
    Vinay

    #965967

    Hi Vinay,

    Thank you for your replay.

    I created a new topic, title: Times New Roman.

    Best regards,
    zizibe1

    #966820

    Hi,

    Thank you for that, we appreciate it a lot

    Best regards,
    Basilis

Viewing 27 posts - 1 through 27 (of 27 total)
  • The topic ‘Roboto’ is closed to new replies.