• Hello there. I am very green when it comes to CSS and I was wondering if someone could share the code I’d need to put into my Custom CSS Manager to underline the links in the body copy of my website. (My site is here.

    An example of what I’m trying to accomplish can be found on this page — where you see the links “Read auto reviews” / “Read blog posts”, I’d like those links to be underlined. When I tried using something I found previously here, it underlined ALL links, including the site name, navigation links, etc.

    I apologize in advance for this question since its been asked before. Thanks for the help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey. The CSS you need to input into your plugin is:

    .entry-content a {
    border-bottom: 1px solid #666;
    }

    An alternative is:

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

    Either would underline the links as you wish. (border-bottom is my preference as I think it looks a little nicer, but text-decoration is the most widely used across the web.) Take your pick.

    Hope this helps. ??

    mindyjoy

    (@mindyjoy)

    Just wanted to say thanks Siobhan, I was searching for this and it worked perfectly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Underline links in body only’ is closed to new replies.