Site logo

Archived topic

Remove Button Link underline

9 replies · Started by Marius on December 10, 2020

Viewing posts 1–10 of 10

Hello,

I am writing my first post with the gutenberg block editor.
When inserting a button with link, then the text has underline.

How can i remove that?

Hi there,

Any chance you can link us to the site in question?

You can use the private information field.

Let me know :)

Hi,

no, i am still writing this post, so it´s not published yet.

OK, i come back to this, when the post is published. May take a while.

No problem!

We will be here :)

Hi,

at the bottom of this page you can see a button, where this happens.

Hi there,

You currently have this CSS:

.single-post .entry-content a {
    text-decoration: underline;
}

Try replacing it with this:

.single-post .entry-content a:not(.wp-block-button__link) {
    text-decoration: underline;
}

Hi Tom,

Thanks, works fine now.

You're welcome :)

This archived topic is closed to new replies.