How to place the “Add to Cart” button to the right of the title and price
-
How to place the “Add to Cart” button to the right of the title and price for all products in the entire shop?
I use divi theme and woocommerce.
When i use inspector i notice that the HTML structure of product is:<li> <span class="onsale">Sale!</span> <a class="woocommerce-LoopProduct-link woocommerce-loop-product__link" href="my-site/product/product-1/" > <span class="et_shop_image" <img src="https://my-site/wp-content/uploads/woocommerce-placeholder-300x300.png" class="woocommerce-placeholder wp-post-image" alt="Placeholder" loading="lazy" srcset="my-site/wp-content/uploads/woocommerce-placeholder-300x300.png 300w, ..."> > <span class="et_overlay"> ::before </span> <h2 class="woocommerce-loop-product__title">Product 1</h2> <span class="price">...</span> </a> <a class="button product_type_variable add_to_cart_button" href="my-site/product/product-1/" >...</a> </li>
How can I add the
<a href="my-site/product/product-1/">...</a>
inside the<a href="my-site/product/product-1/">..</a>
and right of of the title and price?Thank’s
- This topic was modified 3 years, 10 months ago by .
- This topic was modified 3 years, 10 months ago by .
- This topic was modified 3 years, 10 months ago by .
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to place the “Add to Cart” button to the right of the title and price’ is closed to new replies.