Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Mobile Header Background

Hi

Can I use this code to change the Background Header?
$('div[dsid="mobileheader"]').css('background-image', 'url("' + Tiggzi.getImagePath("Congratulations.jpg") + '")');

It works for the content area but does not seem to work for the header.

I know how to change the header background with CSS but the header is dynamic.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Mobile Header Background

Any update here please?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Mobile Header Background

Hi Deon -

No, you will need to use class selector for your jQuery Theme to be able dynamically change background of the header.

Something like this:
pre
&#47;&#47; where &#46;ui-bar-code<is a swatch letter>/code and this class is for both footer and header&#46;
$("&#46;ui-bar-b")&#46;css('background-image', 'url("' + Tiggzi&#46;getImagePath("Congratulations&#46;jpg") + '")');
/pre

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Mobile Header Background

Thank you. I will give it a try.

Return to “Issues”