Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Change the width of AnythingSlider – a jquery based slider by Chris Coyier

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #30143
    daredanger
    Participant

    I want to change the width of AnythingSlider, a jquery based slider (available at https://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.

    #80650
    daredanger
    Participant

    code is exactly the same as the files that can be downloaded from https://css-tricks.com/examples/AnythingSlider/ .

    #80636
    noahgelman
    Participant

    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?

    #80644
    daredanger
    Participant

    @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.

    #80627
    daredanger
    Participant

    Editing AnythingSlider css to a smaller width seems to be so much work…can anyone suggest a different slider which is easy to edit.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.