Archived topic
Cannot Change Button Shape
7 replies · Started by James on July 21, 2021
I don't know if that had to do with upgrading WP or a Generate Press plugin, but I cannot seem to change buttons from rounded to 90 degree angles.

The third button was rectangular, but when I changed the text colour, it went to rounded corners. This is on the Home (Welcome) Page.
My site: Miramichi Reader
There used to be a little slider on the right side of the block editor to adjust the corners, but I no longer see it.
Hi James,
Looking at the code, I believe this is WP problem as seen here:
https://www.screencast.com/t/4XojHxMp7
You could try re-adding the button and make sure the wp-block-button__link class is not in there same as the other two buttons.
I re-added the button and it worked fine. Is there a way to make the rectangular button the default?
I don't believe WP offers that option.
You can also consider using the buttons block from GenerateBlocks which will allow you to have full control over the styling as well:
https://docs.generateblocks.com/article/buttons-overview/
I thought I was using the buttons block from Generate Blocks though...
Hi James,
These buttons are built with WP buttons block, not the buttons block from Generateblocks.
https://www.screencast.com/t/Dk7M8l8k9u
It's with blue icon:
https://www.screencast.com/t/niAfmXHn9vL
Hope this is helpful :)
Ok, I see now. Thanks for the clarification!
No problem :)