Home › Forums › Jevelin Theme › Add to basket alignment
Home › Forums › Jevelin Theme › Add to basket alignment
Hi @pzl,
I hope you are well today and thank you for your question.
Could you please share the page URL from your site where it is displaying so that I can troubleshoot it?
Best regards,
Shufflehound team
This is the URL. Thank you so much!
You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
.woocommerce #page-container div.product form.cart div.quantity { margin: 0; } .woocommerce #page-container div.product form.cart .button { margin-top: 30px; }
That works for the first product. However, I noticed the the CSS does not work for the other products. Is there a universal code that I can use? Here are the other two products in the shop at the moment. Thank you so much.
Please replace the above shared CSS code as below.
.woocommerce #page-container div.product form.cart .button { position: absolute; bottom: 0; left: 130px; } .woocommerce div.product form.cart { position: relative; }
Solution for this topic
Please use the below CSS code instead of above.
@media (min-width: 400px){ .woocommerce #page-container div.product form.cart .button { position: absolute; bottom: 0; left: 130px; } .woocommerce div.product form.cart { position: relative; } } .woocommerce #page-container div.product form.cart .button { clear: both; float: none !important; margin-top: 25px; }
Great! This works perfectly. Thank you so much!
You are always welcome here 🙂