Hello,
How are you ?
As mentioned in the title, I would like to center my button add to cart in my shop woocommerce.
To do this I have already done some research and I used the following css code that I found on the forum:
form.cart {
width: 300px;
right: 30%;
transform: translate (35%);
}
button.single_add_to_cart_button {
width: 130px! important;
}
The problem with this is that the button is aligned but the price of the item remains offset, so do not align with the button.
So the price is not aligned boutton.
I hope it’s clear and sorry for my English that is not perfect.
Thanks for your help.
Hey spidit,
Could you please attach some screenshots of the issue?
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
Victoria
Hi Victoria,
Yes no problem, let’s me show you with tranfersnow
This is the decallage that I have on my site.
Here is the link of the site :
Thanks for your help
Best regards,
spidit
Hi,
Thanks for that, though your site seems to be in coming soon mode, please post admin login details in private so that we can view it.
Also please upload your image to a public service like imgur.com for instance, so that we don’t have to deactivate ad-blockers etc just to download a file.
Best regards,
Rikard
Hi,
Here is the css code that I used.
When you say the admin mode these are the settings to login to my site; user account and password?
Thank you for the precision
Best regards