Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with nth-child and display property. #181

Open
Quin452 opened this issue Apr 16, 2020 · 0 comments
Open

Issue with nth-child and display property. #181

Quin452 opened this issue Apr 16, 2020 · 0 comments

Comments

@Quin452
Copy link

Quin452 commented Apr 16, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant