• Resolved warrior7089

    (@warrior7089)


    “Buy me a coffee” button doesn’t have the border in the footer in the widget area. In admin view it does have the border.

    I found this issue and tried to apply the solution, it didn’t work. In addition tried below code which didn’t work as well:

    .wp-block-button__link {
    	border: solid;
    }

    Any ideas how to resolve it?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Hi @warrior7089 – it looks like this is a known bug:

    https://core.trac.www.ads-software.com/ticket/55824

    It’s been fixed in the Gutenberg plugin, which means it will be included in the next version of WordPress (6.1 – to be released soon).

    So to fix the issue, you can either:

    – wait for WP 6.1, or
    – activate the Gutenberg plugin, or
    – add some temporary CSS to tide you over until the fix is in core

    
    /* Button border fix */
    .is-style-outline .wp-block-button__link {
      background-color: transparent;
      border: 2px solid;
    }
    

    Let me know how it goes!

    Thread Starter warrior7089

    (@warrior7089)

    @zoonini Thanks a lot. Added css and it resolved.

    Moderator Kathryn Presner

    (@zoonini)

    Great, glad that did the trick. Once you update the site to 6.1 you can try removing the CSS as it should no longer be needed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wp Button Block doesn’t have a border in widget area’ is closed to new replies.