I have a price slider in my project. It is working fine. But due to 100% width of the slider as per its container width, it doesn't look good. I don't know how to change width of the slider.

  • 1
    Can you share website link OR a demo link, where I can check this slider ? Commented Aug 9, 2016 at 6:33

1 Answer 1


You can set max-width for the price slider but align it by center of the div using margin:0 auto; display:block; or text-align:center

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.