Archived topic
Button issues after Wordpress update
3 replies · Started by Scott on August 12, 2021
Hi team
Having some issues with buttons across my sites (presumably) relating to the latest Wordpress update.
Previously, in the block settings I could select the border settings so the corners of the button were square.
Now, the buttons default to rounded corners and I can't see an option to edit.
Seems odd these options have gone, are you seeing the same on your end?
If this option is in fact gone, is there some CSS I can use to force all buttons to have squared corners?
Thanks
Scott
Try adding this CSS:
.no-border-radius .wp-block-button__link {
border-radius: 0px;
}
and add no-border-radius class to the button you're using.
WP 5.8 did some changes to the core block element styling. It added border-radius: 9999px; as a default for the button links.
Thanks Elvin
No problem. :D