I'm new to jQuery mobile. I was trying to change the default header color to a #013A6F.
<div data-role="header" data-theme="b">
<h1> Welcome</h1>
</div>
Any insight??
To add background color in HTML, use the CSS background-color property. Set it to the color name or code you want and place it inside a style attribute. Then add this style attribute to an HTML element, like a table, heading, div, or span tag.
I think this would be your css.[Link here]
If so, do this.
.ui-bar-b h1{
background-color: #013A6F;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With