Streaming live at 10am (PST)

Fixed background image in mobile

I have a background image that is fixed. it works great in the previews, but when i view it live (on my iphone), the background image isn’t fixed & it is enlarged.

does anyone know how i can fix that?


Found this on the forum, from @callmevlad

callmevladWebflow StaffJan 6 1
Hi @zfe - thanks for the question! At the moment, Webflow automatically disables background-attachment: fixed; for mobile devices because IOS7 has a rendering bug that makes them appear completely distorted in certain situations.

Are you exporting your site or hosting on Webflow? If you are exporting, there is a workaround I can suggest, but it might cause your background images to be broken on other devices (e.g. iPad landscape), especially if you set your background size to the ‘Cover’ setting.

(See this thread for a bit more background: Fixed background picture doesn't work on iphone5 safari)

I have the same issue than you so I design for mobile differently.

I was aware of the Safari bug, but didn’t realize Webflow automatically disabled background-attachment: fixed. Thanks for the post @vincent! I had been wondering the same thing.

We are going to export it, but I dont want to mess with how it looks in other devices.