Tagged: iphone
-
AuthorPosts
-
March 9, 2026 at 6:01 pm #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.
March 9, 2026 at 9:39 pm #1495901i 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.March 9, 2026 at 11:33 pm #1495904Danke 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:
March 10, 2026 at 5:41 am #1495905Hey 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,
IsmaelMarch 10, 2026 at 7:27 am #1495907Sicher, 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.March 10, 2026 at 3:42 pm #1495912Hi 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.
March 10, 2026 at 10:56 pm #1495932ok – 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-availableteste 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-availableTry testing it in Quick CSS:
First, just for these selectors: see aboveMarch 11, 2026 at 6:21 am #1495937Hi,
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.Let us know the result after trying those steps.
Best regards,
IsmaelMarch 11, 2026 at 6:33 am #1495940ich 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
March 11, 2026 at 6:56 am #1495941Edit: 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.March 11, 2026 at 7:05 am #1495942PS: 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/ -
AuthorPosts
- You must be logged in to reply to this topic.



