I have a page in magento which has some dynamically created elements but the problem is the classes are named the same. I would like to change the styling of the second class but not the first.
How would I go about this? I was thinking possibly jQuery but wasn’t 100% sure where I should be looking for that.
Use the nth-child selector:
Here’s a working fiddle to illustrate.