# NO BUG: Background "fixed" broken on iOS?

**URL:** <https://forum.bricksbuilder.io/t/no-bug-background-fixed-broken-on-ios/3142>\
**Category:** Bugs\
**Tags:** container\
**Created:** [May 25, 2022, 10:01am UTC](https://forum.bricksbuilder.io/t/no-bug-background-fixed-broken-on-ios/3142 "2022-05-25T10:01:07Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Totte](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/totte/32/1355_2.png) [@Totte](https://forum.bricksbuilder.io/u/Totte)\
**Post date:** [May 25, 2022, 10:01am UTC](https://forum.bricksbuilder.io/t/no-bug-background-fixed-broken-on-ios/3142/1 "2022-05-25T10:01:07Z")

</div>

**Bricks Version** : 1.4  
**Browser** : Safari, Chrome, possibly Brave & Firefox  
**OS** : iOS  
**URL** : [https://tottelundgren.com](https://tottelundgren.com)

Hi!

I ran into this odd problem where my images “don’t load” when testing my site on my iPhone.  
The “Fixed” setting for background images of a container seems to break them when using Safari & Chrome. The scroll effect is not happening, and the images does not load properly. It just looks zoomed in to a point where it’s just a gradient of colors.

If I then set the background to “scroll” it works perfectly fine.

On my page provided above, I’ve set the first images (Photography text) to fixed and the second one (Web text) set to scroll.

This does only occur on my phone. It looks perfectly fine in preview when editing on my computer.  
Also works perfectly fine on my girlfriend Android.

Let me know if anything was unclear 😛

---

<div class="post-metadata">

**Author:** ![Sridhar](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/sridhar/32/22855_2.png) [@Sridhar](https://forum.bricksbuilder.io/u/Sridhar)\
**Post date:** [May 25, 2022, 11:59am UTC](https://forum.bricksbuilder.io/t/no-bug-background-fixed-broken-on-ios/3142/2 "2022-05-25T11:59:56Z")

</div>

This is an issue with `background-attachment: fixed` rule itself as far as I know.

I generally set it to `scroll` on smaller breakpoints.

---

<div class="post-metadata">

**Author:** ![Totte](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/totte/32/1355_2.png) [@Totte](https://forum.bricksbuilder.io/u/Totte)\
**Post date:** [May 25, 2022, 2:56pm UTC](https://forum.bricksbuilder.io/t/no-bug-background-fixed-broken-on-ios/3142/3 "2022-05-25T14:56:19Z")

</div>

I’ve been informed in the Facebook gruop that this is a known issue on iOS devices, as they do not support fixed backgrounds. ☹

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [May 25, 2022, 3:04pm UTC](https://forum.bricksbuilder.io/t/no-bug-background-fixed-broken-on-ios/3142/4 "2022-05-25T15:04:19Z")

</div>

Hey Totte, the one over at Facebook was me 😃  
Sridhar is right. It’s [a known issue with iOS for years](https://www.google.com/search?q=ios+background+attachment+fixed)… 😒

Best regards,  
timmse

---

<div class="post-metadata">

**Author:** ![Totte](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/totte/32/1355_2.png) [@Totte](https://forum.bricksbuilder.io/u/Totte)\
**Post date:** [May 25, 2022, 3:32pm UTC](https://forum.bricksbuilder.io/t/no-bug-background-fixed-broken-on-ios/3142/5 "2022-05-25T15:32:54Z")

</div>

On the bright side… there’s no bug YOU guys have to fix 😛 Keep up the good work \<3

---

<div class="post-metadata">

**Author:** ![Jo\_Eder](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/jo_eder/32/6253_2.png) [@Jo\_Eder](https://forum.bricksbuilder.io/u/Jo_Eder)\
**Post date:** [October 27, 2022, 7:44pm UTC](https://forum.bricksbuilder.io/t/no-bug-background-fixed-broken-on-ios/3142/6 "2022-10-27T19:44:45Z")

</div>

But is there a workaround? Would really appreciate if someone could tell me how they handle this.

---

<div class="post-metadata">

**Author:** ![wplit](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/wplit/32/2730_2.png) [@wplit](https://forum.bricksbuilder.io/u/wplit)\
**Post date:** [October 27, 2022, 9:57pm UTC](https://forum.bricksbuilder.io/t/no-bug-background-fixed-broken-on-ios/3142/7 "2022-10-27T21:57:38Z")

</div>

A workaround is to add a fixed element instead, with a regular background. As the issue is only with fixed backgrounds, but it handles fixed elements fine.

eg [The Fixed Background Attachment Hack | CSS-Tricks - CSS-Tricks](https://css-tricks.com/the-fixed-background-attachment-hack/)

---

<div class="post-metadata">

**Author:** ![Mica\_021](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/m/c5a1d2/32.png) [@Mica\_021](https://forum.bricksbuilder.io/u/Mica_021)\
**Post date:** [March 7, 2024, 11:02am UTC](https://forum.bricksbuilder.io/t/no-bug-background-fixed-broken-on-ios/3142/8 "2024-03-07T11:02:27Z")

</div>

I searched on every forum on internet and eventually end up fixing this by changing wallpaper automatically on your iPhone. Here are some potential causes and solutions:-  
**1. Focus Mode with assigned wallpaper:-**

- Focus Modes allow you to customize your iPhone’s notifications and appearance for different situations like “Sleep” or “Work.”

- These modes can also have a designated wallpaper. If a Focus Mode with a specific wallpaper is activated, it might change the wallpaper unexpectedly.

**Solution:-**

- Go to Settings \> Focus.

- Check each Focus Mode (Sleep, Work, etc.) and ensure no wallpaper is assigned. If there is, tap on the mode, select “Customize Screens,” and tap the “-” sign next to any unwanted wallpaper.  
**2. Dynamic wallpapers:-**

- Live wallpapers and Dynamic wallpapers on iPhones can automatically change throughout the day or based on specific conditions.  
**Solution:-**

- Go to Settings \> Wallpaper.

- If you see a Live wallpaper or Dynamic wallpaper selected, choose a different, static wallpaper.  
**3. Accessibility feature:-**

- The “Reduce Motion” accessibility feature can minimize animation and movement on your iPhone, potentially affecting wallpaper transitions. In rare cases, this might cause the wallpaper to appear changed.  
**Solution:-**

- Go to Settings \> Accessibility \> Motion.

- If “Reduce Motion” is enabled, try disabling it temporarily to see if the wallpaper changes stop.  
**4. Software bug:-**

- Occasionally, software bugs can cause unexpected behavior.  
**Solution:-**

- Ensure you have the latest iOS version: Go to Settings \> General \> Software Update. Install any available updates.

- Restart your iPhone: A simple restart can sometimes resolve temporary glitches.  
More details instruction below.  
[https://www.youtube.com/watch?v=eFNddXjP8jA&ab\_channel=TheGeekPage](https://www.youtube.com/watch?v=eFNddXjP8jA&ab_channel=TheGeekPage)

---

<div class="post-metadata">

**Author:** ![yalcin](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/yalcin/32/12162_2.png) [@yalcin](https://forum.bricksbuilder.io/u/yalcin)\
**Post date:** [April 28, 2024, 11:20pm UTC](https://forum.bricksbuilder.io/t/no-bug-background-fixed-broken-on-ios/3142/9 "2024-04-28T23:20:44Z")

</div>

I use a piece of CSS to detect iOS and unset fixed property.

```auto
// Correct iOS not supporting fixed BGs
.unfix-ios-bg {
    @supports (-webkit-touch-callout: none) {
        background-attachment: initial !important;
    }
}

```

Then just add the `unfix-ios-bg` class to any element with a scrolling bg.

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [April 29, 2024, 12:51pm UTC](https://forum.bricksbuilder.io/t/no-bug-background-fixed-broken-on-ios/3142/10 "2024-04-29T12:51:32Z")

</div>

If this works (not tested) it’s a great solution @yalcin ! 👍

---

<div class="post-metadata">

**Author:** ![appcrates](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/a/5f9b8f/32.png) [@appcrates](https://forum.bricksbuilder.io/u/appcrates)\
**Post date:** [April 8, 2025, 6:23am UTC](https://forum.bricksbuilder.io/t/no-bug-background-fixed-broken-on-ios/3142/11 "2025-04-08T06:23:44Z")

</div>

I know this post is a little old, but I solved it on my website and actually thought it is worth making a blog post:

> **[AppCrates - Web Development & Design Solutions](https://appcrates.pl/blog/fixed-backgrounds-in-safari-browser)**
>
> Innovative web solutions for your business. Fullstack development of web apps, portfolio websites, web shops, blogs and databases. Expert technology stack selection.

If someone is still looking for solution, this seems to be a working one.

---

<div class="post-metadata">

**Author:** ![educatedspice99](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/e/db5fbb/32.png) [@educatedspice99](https://forum.bricksbuilder.io/u/educatedspice99)\
**Post date:** [January 13, 2026, 8:50pm UTC](https://forum.bricksbuilder.io/t/no-bug-background-fixed-broken-on-ios/3142/12 "2026-01-13T20:50:18Z")

</div>

Quick fix: just have a fixed image with a lower z-index instead of a background attachment. And if the fixed background has to be contained inside a section, just add `clip-path: inset(0);` to the parent div of the image.
