• Hi,

    I’m trying to set custom z-index value for each .polaroid-gallery-item but when I hover mouse on any item, it’s z-index gets reset.

    How to set custom z-index value?

    Basically my requirement is:
    If I’ve 5 items, by default the 1st item gets z-index=901, 2nd item gets 902 … 5th item gets 905. Instead what I want is, 1st item should get z-index=905, 2nd should get 904 … 5th should get 901. That is: the first item should be on top instead of last item. Right now, I’m overwriting z-index value on page load as per my requirement. But when mouse hover event occurs the z-index value gets reset to default values.

  • The topic ‘how to set custom z-index on .polaroid-gallery-item’ is closed to new replies.