Grow your CSS skills. Land your dream job.

AnythingSlider Showing three slides, how to center first/current slide

  • # March 4, 2012 at 8:41 pm

    AnythingSlider Showing three slides, how to center first/current slide.
    Using AnythingSlider with showMultiple set to 3. How do I get the first or current slide to be in the center of the three? Maybe edit the starting position of the first slide in the JS? Some where it sets the #slider elements inline style to left: -330px; the width of the slide. So If I can offset that by 330px; maybe it will center?

    # March 4, 2012 at 9:23 pm

    I don’t have any easy method for this… maybe you could check out MovingBoxes instead. It has a lot of the same coding as AnythingSlider, I know because I work on both of them, but it centers the current image.

    # March 4, 2012 at 9:41 pm

    MovingBoxes should be just fine. Centering seems to be the default behavior. Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".