Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

fixed background css on android lollipop

Featured Replies

I recently got a new phone with android lollipop. I have noticed that websites with fixed backgrounds are not worked and simply scrolling with the content. Anyone else having this issue?

 

I'm creating a website with fixed backgrounds and would like to know if there is any work around fixes for this issue

 

Thanks

  • Author

thanks, yeh i'm already using no repeat :(

 

this is my CSS

 

width: 100%;
background-image: url(../images/scatter-of-old-damaged-photos.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;

I've had this issue with different phones. Some phones don't seem to support fixed backgrounds.

 

Ramarjun -

 

simply give background-repeat:no-repeat;

 

He already responded to that suggestion.

Edited by rhubarblover

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.