Hi,
I have an ecommerce website running woocommerce (http://tuffhorserugs.com.au/shop).
On the shop page, and also on the product widget, some products have names that fit onto a single line and some products’ titles spill over into the next line.
Because of this, the ‘add to cart’ buttons aren’t vertically aligned.
I wrote a javascript function that tries to line them up, and this sometimes works, but often times the script makes the product tiles twice their regular height (resizing the browser fixes this).
Javascript code is here http://codepen.io/andrewmarkforbes/pen/WvxKLK
Can anyone help me fix this code so it works properly on page load without resizing?
Thanks,
Andy