We have a bit of an issue with a Wordpress Plugin, whereby on variable products it seems to add two DIVs with the same class IDs twice. So it adds it before the In Stock, and again after the In Stock.
If you select the checkboxes within the DIVs and submit, the additional products within them do post fine.
We just want rid of the second set - the 'duplicate'.
I wondered if there was a way in CSS to identify the second entry of the same DIV and then assign Display: none to it.
Can CSS hide the second entry of same class?
Moderator: General Moderators
-
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Can CSS hide the second entry of same class?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
-
- Forum Contributor
- Posts: 367
- Joined: Fri Jul 20, 2007 11:29 am
- Contact:
Re: Can CSS hide the second entry of same class?
Warning: I have no idea what I'm talking about.