Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #969999

    hello,

    I use:

    add_filter(‘avf_logo’,’av_change_logo’);
    function av_change_logo($logo)
    {
    if(wp_is_mobile() )
    {
    $logo = “http://preview.schwimmv.myhostpoint.ch/wp-content/uploads/2018/05/LimmatSharks-mobile.png”;
    }
    return $logo;
    }

    on some pages it works – not on other pages

    #970533

    Hey lessig,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #972294
    This reply has been marked as private.
    #972351

    Hi lessig,

    I’ve flushed out all the page cache and it works fine.
    Can you try to check if it works on your end?
    Clearing browser cache might be needed also.

    Best regards,
    Nikko

    #972739

    Hi Nikko,

    Clearing browser cache, change the browser, ask outher User – sorry no showing the small logo.
    If you see on mobile the Logo …/LimmatSharks-2.png – thats the big one.

    http://quirktools.com/screenfly/#u=http%3A//preview.schwimmv.myhostpoint.ch/&w=375&h=667&a=37

    Best regards,

    Joern

    #972779

    Sorry, I can not understand that. with some users it is displayed correctly. Okay thank you very much

    #972885

    Hi lessig,

    You can test this via google web inspector and using iphone 6/7/8.
    I have tested it again and I noticed that if I’m logged in using the admin account you gave it shows your mobile logo but if I’m not logged in I don’t get this your mobile logo instead I’m fetching the desktop logo. Can you try to flush out the cache from w3 total cache then disable caching plugin.
    Also browsers like chrome have tendency to cache it to your browser which prevents new files/settings from loading, you can clear browser cache or just try to do hard refresh: https://www.getfilecloud.com/blog/2015/03/ (Purchase code hidden if logged out) -hard-refresh-in-browsers/
    Hope this helps :)

    Best regards,
    Nikko

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.