| 1 |
/** |
| 2 |
* WC Add To Cart Button (Shortcode). |
| 3 |
* |
| 4 |
* WooCommerce's [add_to_cart] shortcode outputs an inline <p> that assumes the |
| 5 |
* classic theme's float-based layout. Inside an Elementor flex container the box |
| 6 |
* collapses to its padding and the button overprints the price, so the widget |
| 7 |
* lays the shortcode's own markup out explicitly. |
| 8 |
*/ |
| 9 |
.king-addons-woo-shortcode-add-to-cart .add_to_cart_inline { |
| 10 |
display: flex; |
| 11 |
flex-wrap: wrap; |
| 12 |
align-items: center; |
| 13 |
gap: 12px; |
| 14 |
width: auto; |
| 15 |
margin: 0; |
| 16 |
} |
| 17 |
|
| 18 |
.king-addons-woo-shortcode-add-to-cart .add_to_cart_inline > .price, |
| 19 |
.king-addons-woo-shortcode-add-to-cart .add_to_cart_inline > del, |
| 20 |
.king-addons-woo-shortcode-add-to-cart .add_to_cart_inline > ins { |
| 21 |
flex: 0 0 auto; |
| 22 |
margin: 0; |
| 23 |
text-decoration-thickness: from-font; |
| 24 |
} |
| 25 |
|
| 26 |
.king-addons-woo-shortcode-add-to-cart .add_to_cart_inline > a.button { |
| 27 |
flex: 0 0 auto; |
| 28 |
margin: 0; |
| 29 |
} |
| 30 |
|