WordPress.org

Forums

[resolved] How do I remove "underlining" from my theme? (10 posts)

  1. thebeautyedge
    Member
    Posted 2 years ago #

    My theme underlines all images. How do I remove the underlining, what should I look for and remove from the code?

    Thanks!

    http://www.thebeautyedge.com

  2. shirazdrum
    Member
    Posted 2 years ago #

    The ad looks fine. What do you mean by underlining of images?

  3. thebeautyedge
    Member
    Posted 2 years ago #

    I didn't wait long enough for it to refresh so I guess what I did worked! But now I would like to remove the red dotted underlining.

    Thanks!

  4. jamesgill
    Member
    Posted 2 years ago #

    You'll need to modify the theme's style sheet--either style.css or pink.css (the last one's specific to your theme).

    The color is #f30c55. Look for it in "a" elements. Your theme may also have an Admin panel that simplifies changing link colors; check for that first.

  5. thebeautyedge
    Member
    Posted 2 years ago #

    Hi, I wasn't able to find that color code in the style sheet. I noticed that my links are also have the dotted underline.

  6. WPyogi
    Forum Moderator
    Posted 2 years ago #

    It is in pink.css line 7 and line 3, respectively:

    #colLeft a {
        border-bottom: 1px dotted #F30C55;
    }
    
    a {
        color: #F30C55;
    }
  7. thebeautyedge
    Member
    Posted 2 years ago #

    Thanks, but I don't know how to get there. I can only see the style.css under "Styles" in Edit Themes. I give up lol

  8. shirazdrum
    Member
    Posted 2 years ago #

    Add this to your stylesheet:

    a{border-bottom:none!important;}

  9. thebeautyedge
    Member
    Posted 2 years ago #

    Thank you so much! You are a genius!

  10. shirazdrum
    Member
    Posted 2 years ago #

    You are welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic