WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How can I remove gray image borders within posts using Target theme?

[Resolved] How can I remove gray image borders within posts using Target theme?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Brandon Kraft

    @kraftbj

    Happiness Engineer

    It’s coming from the lightbox, but you can override it.

    Add:

    .gallery img {
    border: none;
    }

    to your styles.css.

    If that doesn’t work, add the important flag, e.g.

    .gallery img {
    border: none !important;
    }

    Hope that helps!

    Yes! The important flag did the trick! Tried the first solution several times before without succes, now I understand why.

    Thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] How can I remove gray image borders within posts using Target theme?’ is closed to new replies.
Skip to toolbar