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

Overlapping elements #180

Open
jacklinwood opened this issue Oct 23, 2019 · 2 comments
Open

Overlapping elements #180

jacklinwood opened this issue Oct 23, 2019 · 2 comments

Comments

@jacklinwood
Copy link

jacklinwood commented Oct 23, 2019

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

@jacklinwood
Copy link
Author

Hi mate,

Any thoughts on this?

It's on a live site so would love to get it sorted ASAP.

I hope you can help.

@carolinmoll
Copy link

The same issue here. Did you solve it somehow?

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

2 participants