Woocommerce Javascript Problem

Hi, I have a website using woocommerce, and I I’m having trouble writing a javascript function to make the ‘add to cart’ buttons line up vertically for the products in the shop page.

My function works most of the time, but sometimes when I load the page the javascript makes the product tiles huge. Resizing the window fixes it, but I want it to work every time the page loads up. Can someone have a look at it and help me please?

http://tuffhorserugs.com.au
http://codepen.io/andrewmarkforbes/pen/WvxKLK

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.