This topic has 6 replies, 2 voices, and was last updated 5 years ago ago by Rose Tyler
hello ,
i want to add an responsive add to cart button with 100% width to single page builder .
I tried to add css 100% width but its not working ,
how can i make add to cart button 100% width ?
Hello,
Please provide URL and temporary wp-admin access.
Regards
hello,
please find the credentials
Hello,
Try to add this code in Theme options > Theme custom CSS > Global:
.single-product .single_add_to_cart_button {
width: 100%;
}
If this doesn’t help, describe the desired result in more details and enable the builder. We will take a closer look.
Regards
it does work but only for simple products not for variable products
builder its on on this site
Change the previous code to:
.single-product .single_add_to_cart_button,
.single-product .woocommerce-variation-add-to-cart,
.single-product .single_variation_wrap {
width: 100%;
}
Regards
You must be logged in to reply to this topic.Log in/Sign up