Skip to content

Overlapping elements #180

Description

@jacklinwood

Hi there,

Great plugin first of all. I have used it for many projects with no issue.

However this is the first time I've used it for an e-commerce site with products being added all the time. My problem is that sometimes the elements overlap and the page needs a refresh for the plugin to work. It doesn't happen every time.

It starts to do it's job then stops further down the page (please see attached screenshot as example).

The code used is below:

$(document).ready(function() {
	$(function() {
		$('#product_listings .listing').matchHeight();
		$('#product_listings .listing .img_wrapper').matchHeight();
	});
	// $.fn.matchHeight._update();
});

I use one match height for the whole element and one for the image inside each element.

You'll see $.fn.matchHeight._update(); is commented out because I tried this with no luck. Unless I'm using it wrong?

Any ideas?

Screen Shot 2019-10-23 at 17 14 39

Thanks,

Jack

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