Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Gallery (sometimes) breaks layout on Safari iPhone on initial load

Home / Forums / Virtue Theme / Gallery (sometimes) breaks layout on Safari iPhone on initial load

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
September 28, 2016 at 5:17 am

Hi,

I noticed that image galleries sometimes break the layout on iPhones. See this image with the page rendering on an iPhone 6+

See how the gallery goes right into the footer and all other text. The gallery does not seem to reserve the space it needs and instead somehow floats over the other content (which should be below of it). As soon as I flip the phone to landscape and then back to portrait, the layout is correct again.

Happens only at initial load, so maybe it’s a problem with the content not loading fast enough. I could never reproduce the problem on reload. But could reproduce it several times with the phone.

I could also not reproduce using the Responsive View in the Chrome devtools and throttling the speed there. So I guess it must be a iOS/iphone webkit problem only.

I post a URL privately in the next post below.

  • The forum ‘Virtue Theme’ is closed to new topics and replies.