Remove Underline from Titles, Permalinks and Block Buttons

  • Terry

    #7709

    Hello Everyone,

    As usual, thanks for such an incredible theme. I love it!

    I have one question: I am trying to underline all the links on a few of my sites. I have tried a few different ways, including this topic, and this topic.

    My problem is this: I don’t want the Child Page permalinks to be underlined, or the block buttons. You can see on my site that the child page titles and buttons are underlined as well as the links. I know there’s a way to fix it, and I’ve looked all over the forum (I apologize if it’s covered anywhere that I didn’t find). If any of you have any insight, that would be fantastic!

    Thank you!

    – Susanna

    Mod

    Kenneth John Odle

    #39099

    Since the only links you want to be underlined are in paragraphs, just add p to your code:

    .entry-content p a, .entry-content p a:hover etc.

    Terry

    #39100

    Thanks for the answer!

    That is definitely better, but the block buttons are still underlined. And, I would love to have links in the h2, etc. underlined as well. Sorry if this is a basic question – I’m getting much better at code, but still not quite there!

    Your fix is much better than it was before, though. Thank you!

    Terry

    #39101

    So, I figured out how to underline links in h3 (I decided that’s the only h tag where I need to have links underlined). I just copied the code, but substituted h2 for p.

    .entry-content h3 a, .entry-content h3 a:hover, .entry-content h3 a:visited {
    font-weight: normal;
    text-decoration: underline;
    }
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.