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.

Background image not working on moble

Featured Replies

Hello
I have been making themein WordPress using the JetPack plugin and the Full Background Manage plugin. Don't think this problem is down to the JetPack though.

Problem: Have got different Backgound images on all pages.
The image is cented with background: cover; and works in google chrome developer tool set at all mobiles sizes but when load on Galexy S3 and S6 the image dose not cover and the height is not filling the page.

Link: http://test.antoinettekaruna.com/test/ Click on mobile site like if loaded full site

Code part,1: From Full Background Manager Plugin in <Head> cant edit it :(.

<style type="text/css" id="custom-background-css">
body.custom-background {
background-image:url(path.name.jpg.);
background-repeat:no-repeat;
background-position:top left;
background-attachment:fixed
}
</style> 

Code Part,2: this is my custom CSS (JetPeck Custom CSS) has got messy because iv been playing around a lot SORRY.

body.custom-background {
background-position: center top;
background-size: cover;
-webkit-background-size: cover;
-o-background-size: cover;
}

@media screen and (max-width: 1024px) {
body.custom-background {
min-height: auto;
overflow-x: hidden;
}
}
 

Thanks and sorry for it being a mess but have tried a lot and cant get my head over it.

Thanks

Edited by PumpkinHead

Try adding the following in to your code as Android can have issues with background size

-webkit-background-size: 100%; 
    -moz-background-size: 100%; 
    -o-background-size: 100%; 
    background-size: 100%; 
    -webkit-background-size: cover; 
    -moz-background-size: cover; 
    -o-background-size: cover; 
    background-size: cover;

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.