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 🙂
If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.