Css for variations
-
Hello. I have a small problem regarding the “Single Add to Cart”. As the variations were too far apart, I used this css to decrease the spacing:
td.value.woo-variation-items-wrapper { background-color: #fff; } .woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { background-color: #fff; } td.value.woo-variation-items-wrapper { margin-top: -23px; margin-bottom: -23px; } .woocommerce div.product p.price, .woocommerce div.product span.price { font-weight: 600; font-size: 30px;} .woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled { margin-top: 20px; }
However, I could not solve the problem of the chosen variations being practically above the title of the variation. I took a print to better clarify the problem.: https://i.imgur.com/Hs9OtkC.png
Is there any css code to solve this?
I would like it to be like this: https://i.imgur.com/1dxf7HP.png (the variation chosen in front of the title).
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Css for variations’ is closed to new replies.