I’m using this slider:
http://docs.jquery.com/UI/Slider
I need to change the colors of slider handle & slider bar. Since I’m new to jQuery, I’m not able to figure out how to do it. Can anybody help?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Actually, I ran into the same problem and this is how I’ve solved it:
My html markup was this:
I manually added the class to the handle bar with jQuery like this:
which, when you look at the code (inspect element in chrome) looks like this (because the jQueryUI turns the handle bar into the
atag):and I added this in my css file:
and this is the result I got:

Originaly, I was using theme blitzer which as you can see on this link doesn’t have the yellow handlebars.
edit: how to change the slider color:
If you look at the class (I use inspect element in Chrome browser) which is applied to the slider you see this:
Now, in order to change the color of the slider you have to remove the background image, just try it like this (I tried and it works):
This class is located in the jQuery UI css file (in my case jquery-ui-1.8.16.custom.css).
Hope this now resolves your problem.