I want to change the color of one of the <li>
record to say "Red". Please suggest how can I do the same.
Asked
Active
Viewed 3,822 times
1

adamdehaven
- 5,890
- 10
- 61
- 84

user1083596
- 145
- 1
- 4
- 10
-
which one ? the selected one ? a random one ? – Manse Jul 25 '12 at 10:56
-
I just want to add a class. Just a random one keeping the gradient constant. – user1083596 Jul 25 '12 at 11:14
2 Answers
1
You can use the jQuery Mobile ThemeRoller to customize swatches to any colors you would like. You can have multiple swatches (from A-Z) and utilize them on an element-level with data-theme="a"
(insert letter of swatch).
Here's a theme I made for you that is ALL red. http://jquerymobile.com/themeroller/?ver=1.1.1&style_id=20120725-62

adamdehaven
- 5,890
- 10
- 61
- 84
1
I know you have chosen an answer already, but modifying the listview's anchor tag should do the trick. I had this (where #storeList is the name of my unordered list):
#storeList a {
background-color:red;
}

Daniel
- 11
- 1