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

  • SEARCH
  • Home
  • 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 8484821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:28:40+00:00 2026-06-10T20:28:40+00:00

I am using jquery mobile. I have created a very simple page where there

  • 0

I am using jquery mobile.
I have created a very simple page where there is a fixed header and footer.I have only two buttons at that page.as footer is fixed to bottom so half of the page is in silver color(data-theme=c) and half as gray color(bottom page).

I want my full page to be in silver color(according to specified theme) from header to footer no matter how much content I want to place on one page.
Is it possible?

<div data-role="page" data-theme="b" id="ui-page-start" class="ui-page-active">
    <div data-role="header" data-theme="b" data-backbtn="false">
        </div>

    <div data-role="content" class="ui-content" role="main" style="text-align: center;"data-theme="c"> 
    <br/>
    <div>
        <input type='text' id='jid' placeholder="JID" data-mini="true" value='sobha@ns382290.ovh.net' style="border-radius: 10px;">

        <input type='password' data-mini="true" id='password' placeholder="Password"style="border-radius: 10px;">
        </div>                  

    </div>
    <div data-role="footer" data-position="fixed" class="ui-bar-a fade " role="contentinfo" style=": 212px; ">
        </div>

</div>
  • 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-06-10T20:28:42+00:00Added an answer on June 10, 2026 at 8:28 pm

    I do this using CSS to remove the background from the data-role="content" div, and applying it instead to the data-role="page" div. Here is a jsbin showing it in action:

    http://jsbin.com/ijeqiy/2/

    You can target individual themes by using the .ui-body- class. For example in your code, you are using theme b on your page div, so you can overwrite it like so:

    .ui-body-b {    
        background: #F9F9F9; /* the background color you want */
    }
    
    .ui-content {
        background: none; /* remove the background color from the content because it's not long enough */
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created bottom fixed tabs using jquery mobile data-role=navbar inside a JQ footer.
I have simple jQuery Mobile site created using asp.net mvc 2 and uses basic
I have created a web page using JQuery Mobile that has a link at
I have created a sample web application using jQuery Mobile. I have created two
I have a mobile app created using HTML/JS(jQuery)/CSS and I'm looking to include page
I have a PhoneGap App using jQuery Mobile. At a certain page, I cannot
I am developing an events page using jquery mobile. I have a stylish way
I have a Phonegap App, using jQuery and jQuery Mobile. In some page I've
I have created a mobile version of my website using jquery mobile. My site
I have found documentation on using custom icons for jQuery mobile buttons and how

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.