Does someone knows how to change and/or set a background image for a jQueryMobile-built site?
Cause I tried everything (not so much,actually) I found, but I really can’t overwrite the default css for jquery mobile (http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css) adding my own one.
Hope for your help,
thanks!
SOLVED: in your CSS file, you have to override the jQuery Mobile “.ui-mobile .type-home .ui-content”.
That’s how I did it:
.ui-mobile .type-home .ui-content {
background: white url(Image/A-HD.jpg);
background-repeat: no-repeat; background-position: 50% 80%; /*50% 80% mozilla optimized*/
background-attachment: fixed;
background-size: 50%; /*50% mozilla optimized */
}
Found the (a?) problem:
I had to override
.ui-mobile .type-home .ui-contentand inside that I can put all the properties I want.
Hope it can helps someone!