Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #1440298
    #1440320

    Kannst du bitte den korrekten link angeben – nur die ID reicht nicht aus um das Teil schnell zu finden.

    #1440321

    Hey manfredergott,

    It looks like the quotes are wrong in the code you are using, please try using this instead: https://pastebin.com/UY1EBX8A

    Best regards,
    Rikard

    #1440342

    Vielen Dank, bei der Eingabe des neuen Codes aus dem Link https://pastebin.com/UY1EBX8A (siehe private content) in Child Theme Functions.php kam wieder die Meldung:

    Kommunikation mit der Website, um auf fatale Fehler zu prüfen, nicht möglich, daher wurde die PHP-Änderung rückgängig gemacht. Du wirst deine veränderte PHP-Datei mit anderen Mitteln hochladen müssen, wie per SFTP.

    #1440345

    Nun dann teste das doch mal per ftp! Und gib Bescheid.

    Wenn du das Filter (avg_logo) in deiner functions.php schon einmal für einen anderen Einsatz genutzt hast, käme es bei mir zu einer Fehlermeldung:

    Cannot redeclare av_change_logo() …

    Es könnte sein, das dein WordPress mit deiner Fehlermeldung das quittiert.
    Du müsstest in dem Fall diese Sachen zusammen abhandeln durch mehrere if statements.

    ___________
    Well then test it via ftp! And let us know.

    If you have already used the filter (avg_logo) in your functions.php for another application, I would get an error message: (see above)
    It could be that your WordPress confirms this with your error message.
    In this case, you would have to handle these things together using several if statements.

    #1440356

    Hi,

    If you need help adding the code, then please provide us with admin WordPress and FTP login details in private.

    Thanks @guenni007 for helping out :-)

    Best regards,
    Rikard

    #1440519

    Ich habe den Code mithilfe des Plugins Snippets eingefügt, das hat nun geklappt.

    #1440570

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1440584

    Leider wird nun nicht mehr mein Logo, sondern das von ENFOLD angezeigt !?
    Caches wurden geleehrt.

    Ich habe das Snippet vorübergehend deaktiviert, bitte um Hilfe!

    #1440592

    Hi,

    Your logo displays fine on my end, how can we reproduce the results you are seeing on your end?

    Best regards,
    Rikard

    #1440862

    Ich habe das Snippet “mobile logo” mit dem Code (siehe im privat content oben) wieder deaktiviert, da bei Aktivierung des Codes mobil nicht mein Logo, sondern das von Enfold erscheint, siehe privat content unten:

    #1440894

    Hi,

    Thank you for the screenshot.

    We may need to access the site in order to properly check the modification. Please provide the login details in the private field and make sure that the Appearance > Theme File Editor is accessible.

    Best regards,
    Ismael

    #1441266

    Im Private Content die Zugangsdaten, dankeschön!

    #1441284

    Hi,

    Thank you for the info.

    The Appearance > Theme File Editor is disabled when we checked the dashboard. Please enable it back or provide the S/FTP details in the private field.

    To enable the file editor back, set the DISALLOW_FILE_EDIT to false or add this code in the wp-config.php file:

    define('DISALLOW_FILE_EDIT', false);
    

    Best regards,
    Ismael

    #1441449

    Jetzt müsste es klappen

    #1441544

    Hi,

    The Appearance > Theme File Editor is still not accessible. Please check the screenshot in the private field.

    Best regards,
    Ismael

    #1441860

    Ich verstehe, neue Zugangsdaten siehe private content:

    #1442238

    Hi,
    I logged into your site and found that your snippet to change the logo for mobile was disabled, so I enabled it and found that it works correctly. Please see the screenshot in the Private Content area of what I see, please check.
    In your screenshot it looks like you were using a iPhone when you saw the “Enfold” logo on mobile.
    Please note that iPhones can be hard to clear the cache, often you need to also clear the history to fully purge the cache, following these steps for Safari and note Step 4 where you will Clear the History.
    So if you see the “Enfold” logo on mobile try to Clear the History on your iPhone

    Best regards,
    Mike

    #1442320

    by the way: you are using on desktop version a svg logo. Why don’t you use an edited svg file for mobile too.

    The font is lufga i guess. So it is easy to get in illustrator.
    you can find your mobile logo here: Link
    upload that – and on list view inside the media library look for the ID of that file. f.e. 456

    then replace it via:

    function av_change_mobile_logo($logo){
        if(wp_is_mobile()){
          $logo = 456;
        }
        return $logo;
    }
    add_filter('avf_logo','av_change_mobile_logo');

    Your png file got a bit different color – is that a wanted style – i styled it now like your desktop svg file.
    But you can fill it a different way by quick css.

    and btw. you decided to preseve the header visible on mobile view.
    then adjust the padding-top of main to

    @media only screen and (max-width: 767px) {
      .responsive #top #main {
        padding-top: 80px !important;
      }
    }
    #1442426

    Ich habe das SVG-Logo für die Mobilversion nun (nach einer Fehlermeldung musste Plugins Snippets deinstalliert werden) über die Dateiverwaltung des Hosters direkt in functions.php mit Code hinzugefügt, so klappt es nun, vielen Dank!

    #1442430

    Hi,
    Glad Guenni007 could help, thank you Guenni007, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 21 posts - 1 through 21 (of 21 total)
  • The topic ‘erledigt – Frage zu #1439344 – anderes Logo bei Mobilversion’ is closed to new replies.