Hello. What CSS would I use the make the width of the “Apply coupon” cart button smaller? THanks.
Hey Illingco,
Could you post a link to where we can see the element in question please?
Best regards,
Rikard
Sure it is the cart as listed below…
Hi,
Thanks for that. Please try the following in Quick CSS under Enfold->General Styling:
.coupon button {
min-width: 100px;
width: 100px;
}
Best regards,
Rikard
Unfortunately that does not work and does not produce a smaller button width. Actually I combined your solution with my previous attempt, and this seems to work:
.woocommerce button.button[name=”apply_coupon”] {
min-width: 60px !important;
width: 120px !important;
}
Hi,
Great, I’m glad that you found a solution. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
You can close this thanks.