Site logo

[Resolved] Button issues after WordPress update

Home Forums Support [Resolved] Button issues after WordPress update

Home Forums Support Button issues after WordPress update

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1894005
    Scott

    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

    #1894200
    Elvin
    Staff
    Customer Support

    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.

    #1895989
    Scott

    Thanks Elvin

    #1896946
    Elvin
    Staff
    Customer Support

    No problem. 😀

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.