Underline links in page content *only*

  • Author
    Posts
  • #37403
    Tom Llama

    Hi there,

    Love the Nirvana theme. Links are typically not underlined anywhere in the theme, which is great, except that I really need those underlines in the actual content (blog posts, essays, what-have you). I don’t need any other links in the theme to suddenly gain underlined links – just the links I include in posted content. Can this be done, and how?

    Thanks so much.

    #37405
    Lanie

    I’m not that familiar with Nirvana, but try this:

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

    You put that in the style.css file of your child theme. (If you don’t have a child theme, that and any other changes you make/have made will be lost with the next update, so you should get one!)

    Note: I’m not with Cryout Creations–I’m just someone trying to help.

    #37409
    Tom Llama

    Thank you Lanie, that did the trick. I’m not so good with code as I should be, and couldn’t grok where that code change should go. Appreciated!

    #37410
    Lanie

    No problem! Glad it worked. 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Underline links in page content *only*’ is closed to new replies.