Skip to content

Issue with nth-child and display property. #181

Description

@Quin452

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions