Change the width of AnythingSlider - a jquery based slider by Chris Coyier
-
I want to change the width of AnythingSlider, a jquery based slider (available at http://css-tricks.com/examples/AnythingSlider/ ), from 760 pixel to 450 pixel. I tried to change the css but could not do it successfully. Please help.
You're going to have to change everywhere there's a width. If you post the CSS I can help more. I've done this before, but don't have the code in front of me.
code is exactly the same as the files that can be downloaded from http://css-tricks.com/examples/AnythingSlider/ .
If you cant do ti via css, just open the js, do a search for "760" and replace each instance of that with "450". That should work right?
@noahgelman....I guess it can be done by editing css only but there are so many classes and attributes in AnythingSlider that if I change the width to a new smaller width although the width of the slider in whole changes but other things like text and image in individual slides does not change accordingly.
Editing AnythingSlider css to a smaller width seems to be so much work...can anyone suggest a different slider which is easy to edit.Add a Comment