Site logo

Archived topic

How to add rounding to all Labels on the site?

7 replies · Started by Mihail on August 5, 2021

Viewing posts 1–8 of 8

No problem. The site (test) is now at (sent it).

In this case, I immediately have an additional question:
is there no universal code that could do this so that every time I change the template I do not ask for help?

Try this CSS:

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], textarea, select {
    border-radius: 5px;
}

Adding CSS: https://docs.generatepress.com/article/adding-css/

This code should always work for GeneratePress. I can't say other themes unfortunately.

Thank you! Exactly what I wanted 🤝
ps. but this can be changed? It's in the basket.

https://prnt.sc/1jt4qcn

Hi there,

for the Quantity Buttons on the single product and the cart page, you can add this CSS:

.woocommerce form.woocommerce-cart-form .quantity.buttons-added .minus,
.woocommerce form.cart .quantity.buttons-added .minus {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.woocommerce form.woocommerce-cart-form .quantity.buttons-added .plus,
.woocommerce form.cart .quantity.buttons-added .plus {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

You guys are just space 👍 :)

Thanks as always! 🤝

Glad we could be of help!

This archived topic is closed to new replies.