Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6657949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:50:01+00:00 2026-05-26T01:50:01+00:00

I have a jQueryMobile app with different HTML pages. Only the first page contains

  • 0

I have a jQueryMobile app with different HTML pages. Only the first page contains references to the CSS files, because any additional page won’t load the header in jQueryMobile.

In my general style.css file, I do set the background image that way:

.ui-page {
    background: transparent url(../img/iOS/backgroundBanner.jpg);
 }

 @media only screen and (-webkit-min-device-pixel-ratio: 2) {
    .ui-page { background-image: url(../img/iOS/backgroundBanner-2x.jpg); 
    -webkit-background-size: 320px 480px;
 }

That works but… How do we change the background image in a specific page?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:50:02+00:00Added an answer on May 26, 2026 at 1:50 am

    You could have a container div on each page with a different id or class and change the background .onClick() for the specific div.

    Example:

    <style>
    .home {
        background: transparent url(../img/iOS/home_background.jpg);
    }
    .about{
        background: transparent url(../img/iOS/about_background.jpg);
    }
    </style>
    <div class="home">Home Page</div>
    <div class="about">About Us</div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My jQuery Mobile app consists of a single index.html page and contains only one
I have a HTML jquerymobile App, I need to show an offline page when
I have a single page jQuery Mobile app with four data-role='pages' in place; so,
I am working on a mobile app and I have an initial page that
I have a problem with JqueryMobile and Phonegap app. If I rotate the mobile
I have a mobile app using JQuery Mobile. Because of issues with blackberry I
So I'm using jquerymobile for an app I'm creating. I have a link that
I am developing app using the jquerymobile framework. I have to set the background
I would like to build a mobile app, brewed from nothing more but html/css
I have a dynamic list loaded into a HTML 5 web app built using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.