Home Forums WoodMart support forum Align add to cart and buy now buttons on product page

Align add to cart and buy now buttons on product page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #457154

    agenciawebinfinite
    Participant

    Hello!

    I would like it to be possible, align the buttons this way, it is a STANDARD and organized, see:

    https://imgur.com/7nrgGpw

    However, in Woodmart, it looks like this:
    https://imgur.com/XiqgFWn

    I would like their size to be divided equally by size, and occupy all the space, staying next to the units counter, not below.

    Can you help me?

    #457799

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Desktop:

    .woocommerce-variation-add-to-cart .single_add_to_cart_button,
    .woocommerce-variation-add-to-cart .wd-buy-now-btn {
    	flex-grow: 1;
    	flex-basis: calc(50% - 52px);
    }

    Best Regards

    #459156

    agenciawebinfinite
    Participant

    It was beautiful, it worked perfectly!

    Thank you very much.

    #459203

    You are welcome! We are here to help.

    Wish you a wonderful day!

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Align add to cart and buy now buttons on product page’ is closed to new replies.