Community forum for knowledge and support

Updated 7 months ago

Responsiveness issue on site

At a glance

The community member is experiencing issues with the responsiveness of their website, where bars of the background color appear on the sides of the screen in landscape mode and above the navigation bar in portrait mode on an iPhone. They have tried setting the overflow to hidden, but it did not work. Another community member suggests this may be due to a feature in the Safari browser that applies the page color to the browser bar and extended space, and provides some potential workarounds. However, the issue persists even when using the Chrome app on the phone. The community member acknowledges their coding skills are limited and is looking for an easier solution.

Useful resources

Having trouble with responsiveness on my site. Not sure if it's a relume issue or the way I have it in Webflow, but when I go into landscape mode on my iPhone, bars (of the background color of the site) appear to the right and left of the screen. When in portrait mode on iphone, the bar appears above the nav bar. I read some forums that said to set overflow to hidden, but it still doesn't work. I've attached screen shots as this does not appear in Webflow's preview mode, but only when published. The share-only link is also below.
https://preview.webflow.com/preview/jarret-roloff-portfolio?utm_medium=preview_link&ut[…]o&preview=e8ccb53f673758b9f5515ca2f57098e8&workflow=preview

Attachments
IMG_0775.jpg
IMG_0776.jpg
M
J
J
6 comments

can you share the published URL as well?

Hi Jarret, I believe this is due to one of the many beloved features of the safari browser. It loads the color of the page and applies it to the browser bar (and the left and right extended space in mobile landscape) and then keeps that color as it’s not dynamic out of the box. See links below for potential workarounds found after a quick search.

Not sure about best practices on this topic, and whether or not one should be adjusting these things or not.

https://medium.com/@evkirkiles/coloring-the-webkit-browser-bars-28d75cd8cf7f

https://forums.developer.apple.com/forums/thread/683403

https://medium.com/@adboio/how-to-change-your-websites-address-bar-color-in-safari-15-4c032c86daab

"beloved" 🤣🫠 such a good spot there! I hope that is it

Thanks for the responses. I'll look into those solutions more, but I used the chrome app on my phone and the bars on the side still appear. Is there an easier solution for this? My coding skills are subpar, to say the least...

sent you a DM with some feedback Jarret! 💪

Add a reply
Sign up and join the conversation on Slack