WordPress.org

Ready to get started?Download WordPress

Forums

How to remove dotted line from images? (6 posts)

  1. rocketboy
    Member
    Posted 3 years ago #

    Hey everyone.

    How can i remove the dotted lines from images?

    img {border:none;} unfortunately did not work.
    I'd be glad if anyone could help me out.

    Thanks in advance,
    rocket

  2. @mercime
    Volunteer Moderator
    Posted 3 years ago #

    The image may be wrapped in another div or span which renders the dotted lines in style.css. Avoid guessing games, site URL?

  3. rocketboy
    Member
    Posted 3 years ago #

    Thanks for the quick reply.
    The URL is http://www.laleakguen.de/wp

  4. rocketboy
    Member
    Posted 3 years ago #

    It even affects the lightbox-buttons. pretty ugly.

  5. @mercime
    Volunteer Moderator
    Posted 3 years ago #

    Open up your theme's style.css, look for "a" and "a:hover".
    Replace the borders with dash and dottedwithborder-bottom: none;` therefore:

    a {
    border-bottom:none;
    color:#000000;
    font-weight:600;
    text-decoration:none;
    }
    a:hover {
    color:#e12000;
    border-bottom: none;
    background-color:#f7f7f7;
    }
  6. rocketboy
    Member
    Posted 3 years ago #

    Thank you.
    But that seems to be an overall solution, which also includes the regular text "a"s.
    It would be perfect if it would just fix the "img"s.

    Thanks anyway.

Topic Closed

This topic has been closed to new replies.

About this Topic