wordpress - Woocommerce: Align add to cart button with CSS -


is there way align “add cart” button on shop page ? when product names different lengths. try add css code not working without hover.

.woocommerce .products .product .button {    font-size: 13px;    /* padding:8px 26px; */    margin-left: 10px;    position: absolute !important;    display: block;    bottom: 30px;    vertical-align: bottom !important;  }  .woocommerce a.added_to_cart {    /* display: inline-block; */    font-size: 12px;    line-height: 18px;    padding-top: 8px;    position: absolute !important;    display: block;    bottom: 30px;    vertical-align: bottom !important;    white-space: nowrap;    border-bottom: 1px solid transparent;  }

try break product name if product name long enough or use 'product name long..... ' way display product name.or better override template archive.php on child theme.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -