Site logo

Archived topic

Button Radius

9 replies · Started by Jose on May 2, 2020

Viewing posts 1–10 of 10

Hi,

I have changed the buttons colors, but where I can change the radius? For all the buttons in my web?

Regards,

Hi there,

add this CSS:

button:not(.menu-toggle),
html input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.button:visited,
.wp-block-button .wp-block-button__link {
    border-radius: 25px;
}

OK its because Caldera uses its own HTML / CSS - include this selector:
.caldera-grid input[type=submit]

so your complete code looks like:

button:not(.menu-toggle),
html input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.button:visited,
.wp-block-button .wp-block-button__link,
.caldera-grid input[type=submit] {
    border-radius: 25px;
}

Nothin, still not working. Maybe I can add a CSS class to the button?

You have some broken CSS.

} <---- this bracket is not required.
/*botón caldera forms*/
button:not(.menu-toggle),
html input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.button:visited,
.wp-block-button .wp-block-button__link,
.caldera-grid input[type=submit] {
    border-radius: 25px;
}

Perfect, it works!

Regards,

Glad to hear that

Where do you add this CSS for the button?

This archived topic is closed to new replies.