Can you change the color of the jquery ui icons?
I was trying to figure out how change the color of the jquery ui icons that are used with my skin. I am using smoothness skin in cloud theme, so all icons are grey/black. I wanted to use a nice bright red cross for delete, instead of just grey.
The short answer to this is, NO you can't change the color!
The only way to change the color is to change skins, which them gives you a whole new set of icons that are all the same color.
My solution? Check out all the great colorful icons provided in the cloud theme located in /themes/
Now you cannot use these with jquery though (or if you can, I do not know how), so you just have to add an image tag to them instead of using the ui-icon-whatever in the class.
Personally, I copied the icons I want into my plugin /images/ folder, since there are only a dozen or so that I use, and that way they will still work even if I change themes.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- PHPDevShell Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- jsherk
- Solved:
- Last query:
- Last reply:
This question was reopened
- by jsherk