Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1495891

    Hi,

    I have a website which is fine on all devices, but not on the iPhone (tested with iPhone 13). I tried so many things/hacks, but I cannot get it done. Can you check and help me please?

    it shows an large white space on top and cuts content above the footer.

    Let me know if you need more information or login data.

    Thank you.

    #1495901

    i guess you have a page with fixed header – even on mobile too?
    The problem is that Safari shrinks the tab bar when scrolling, which changes the visible area. If your header is fixed with top: 0, but the calculation of the spacing is messed up by the changing browser UI, this ‘gap’ is created, through which the content flashes.
    This is especially noticeable when you display the tabs at the top in iOS Safari. As these shrink when scrolling, the viewport height changes.
    For me it would be nice to see the page. Then i can try to give you better advice.

    #1495904

    Danke für die Anwtort. Keine Ahnung wieso ich auf Englisch geschrieben habe, ich denke wir können auf Deutsch fortsetzen.
    Ich habe tatsächlich eine fixierte Kopfzeile, aber da heißt es ja:
    Aktiviert, fixiert die Kopfzeile am oberen Bildschirmrand (wird auf Smartphones ignoriert)

    Das Phänomen taucht z. B. hier auf:

    #1495905

    Hey cherrmann,

    Thank you for the info.

    We took a look at the page and found that there is an invisible Separator / Whitespace element just above the footer that has a height of 300px. This is what is causing the large gap on mobile view.

    You can locate this element in the layout builder and either remove it or you can try this css to adjust its height on mobile view:

    
    @media only screen and (max-width: 767px) {
      #top .hr.hr-invisible.av-mljdspyf-71312ddfce3302f17c1d53863ec1237a {
        height: 50px;
      }
    }
    

    Let us know if the issue persists.

    Best regards,
    Ismael

    #1495907

    Sicher, dass es nicht nur ein Caching ist? Du hast WP-Rocket am Start. Cleare mal den Cache dort. Und deaktiviere dann WP-Rocket temporär.
    Dann – falls aktiv, mach noch einen Refresh der css und js files in Enfold ( Enfold-Child / Performance ) ganz unten “Delete Old CSS And JS Files?”

    Aus irgendeinem Grund ( und auch nur auf realen iPhones ) wird dieser full-width button den du am Desktop zeigst trotzdem mit berücksichtigt. Es wird nur der Anchor ausgeblendet – die Wrapper bleiben sichtbar. Daher:
    Versuche mal folgendes : setze den Full-Width button in eine eigene Color-Section und blende diese dann für kleine Screens aus.
    PS: das ganze ist übrigens auf allen seiten dann auch der Fall – wo du unterhalb der Slider auch immer einen Full-Screen Button setzt.

    dies wird auch auf realen iPhones gezeigt:

    #1495912

    Hi Ismael, you’re right about the invisible separator. I added it so the content just above the footer will not be cut on the iPhone. There was even another invisible separator of 100px height just above the one you mentioned. When I delete those, the situation on the iPhone gets even worse. I now deleted both of them so they will not confuse our testing any longer.

    Hallo Guenni007, danke, dass du dich der Sache annimmst.
    Ich habe jetzt WP Rocket deaktiviert (vorher den Cache aufgefrischt). In Enfold ist und war die Optimierung von JS und CSS deaktiviert, von daher habe ich dort jetzt nichts weiter getan.
    Eine eigene Color-Section möchte ich nicht, weil es dann nicht mehr full width ist.
    Übersehe ich etwas, ist das nicht die einzige Seite mit dieser Art full width Button auf der Website?

    Mein Problem ist, dass ich leider kein iPhone zur Verfügung habe und nach jeder Änderung umständlich organisieren muss, dass es jemand testet. Bisher ohne Erfolg und ich fange an, den Leuten auf die Nerven zu gehen.

    #1495932

    ok – man bekommt das wirklich nur raus, wenn man einen mac mit safari zur verfügung hat, und dort die XCode nebst iOS Simulatoren installiert.
    Dann hat man nämlich dev Tools für die iPhone zur Verfügung ;)

    es ist ein spezieller Hack, der aber hier dazuführt, das dieser extreme Leerraum ensteht:
    height: -webkit-fill-available

    teste doch mal im Quick css:
    zunächst mal nur für diese Selektoren:

    #top .av-minimum-height, 
    #top .fullsize {
        min-height: 0 !important;
    }

    _____________

    OK – you can only find this out if you have a Mac with Safari and have installed XCode and iOS simulators.
    Then you have dev tools for an iPhone at your disposal ;)

    It’s a special hack, but it leads to this extreme empty space:
    height: -webkit-fill-available

    Try testing it in Quick CSS:
    First, just for these selectors: see above

    #1495937

    Hi,

    Thank you for the update.

    We are currently not able to reproduce the issue on our end. Could you please try the following before testing again:

    1. Clear your browser cache.
    2. Open the page in an incognito/private browsing window.
    3. Purge the cache from your cache plugin (WP Rocket or any other active caching plugin).
    4. Try testing on a different device or browser if possible.

    q5sHOkx.md.png

    Let us know the result after trying those steps.

    Best regards,
    Ismael

    #1495940

    ich frage mich nur woher dieses /wp-content/uploads/dynamic_avia/js.css kommt. Denn ich glaube nicht das es eine Enfold Datei ist. Eventuell gehört die zu einem Plugin? Vielleicht kann da einer der Mods näheres zu sagen.

    du kannst auch nur diese Regel überschreiben ohne auf andere Devices Einfluss zu nehmen:

    in das Quick css :

    @supports (-webkit-touch-callout: none) {
        #top .av-minimum-height, #top .fullsize {
            min-height: 0 !important;
        }
    }

    _____________

    I’m just wondering where this /wp-content/uploads/dynamic_avia/js.css comes from. Because I don’t think it’s an Enfold file. Maybe it belongs to a plugin? Perhaps one of the mods can say more about this.

    You can also just override this rule in js.css without affecting other devices: see above

    #1495941

    Edit: OK now – i see that it is your Enfold file because you liked to reflect the Janisch & Schulz by js and renaming your child-theme to J&S ( or parared did it) –
    so you can overwrite that rule inside quick css by the rule above – or find that rule inside your settings and remove it.

    #1495942

    PS: fernab von deinem White Space on iPhone Problem – sehe ich das du oft diesen Trenner mit den drei linien einsetzt.
    bist du eigentlich vertraut damit eigene svg Divider in Enfold zu haben?
    dein Trenner mit den drei linien ließe sich gut umsetzten mit:

    nicht wundern bei Enfold stehen die svg Trenner auf dem Kopf – der scharze Teil ist das was nachher durch die Anschlussfarbe ersetzt wird.
    Großer Vorteil : responsiv sorgt vector-effect=”non-scaling-stroke” dafür das die Stroke-weite über alle screen-breiten gleich bleibt (also gut sichtbar ist) :
    https://webers-testseite.de/j-und-s/

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.