jquery-match-height
jquery-match-height copied to clipboard
Issue with nth-child and display property.
Hi Firstly, love the plugin; it makes life so much easier.
But I've ran into an issue.
So I've got a content area, with each row having 2 columns of 50%. One column is an image, and one is content. Now, as per the design, the image alternates between left and right, so my idea is to have 3 columns of 50% in the HTML and use CSS nth-child to either hide the first or last column (the middle will always be content).
This works perfectly, except with matchHeight as the third column is essentially pushed on to a new row due to the width settings.
Is there a way to get it to work the way I have it, or should I just dynamically build the page?