Skip to content

Instantly share code, notes, and snippets.

@bekarice
Created October 2, 2014 23:44
Show Gist options
  • Save bekarice/951a69c613339c887794 to your computer and use it in GitHub Desktop.
Save bekarice/951a69c613339c887794 to your computer and use it in GitHub Desktop.
Align WooCommerce Add to Cart Buttons (MAY CHANGE WITH THEME)
a.added_to_cart.wc-forward {
bottom: 0;
position: absolute;
display: block;
bottom: 0px;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
min-height: 295px !important;
margin-bottom:10px;
}
a.button.add_to_cart_button,
a.button.product_type_simple {
bottom: 30px;
position: absolute;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment