Home > OS >  Align PW gift cards coupon buttons woocommerce
Align PW gift cards coupon buttons woocommerce

Time:07-23

I'm still learning CSS and HTML and can't seem to find a solution for this one... I need help with aligning 2 buttons from Gift cards coupons (PW plugin). More precisely, I want that 'carte cadeau' to be the same as 'code de réduction' above (see attached) so the placeholder text goes next to the button.

I've also attached a preview of inspector...

Thanks a lot (in advance) :)

inspector

buttons to align

CodePudding user response:

you could try display: flex; on div element. Im not exactly sure is that going to work, because of screenshots instead of code, but would give a try :)

CodePudding user response:

yes thank you ! i added :

.woocommerce-page table.cart td.actions .coupon {
    display: flex;
}

and it worked! I had difficulties pointing changes at the proper place (table.cart td.actions .coupon).

Thanks again! :)

  • Related