Support » Fixing WordPress » How can I remove gray image borders within posts using Target theme?

  • Resolved pb85

    (@pb85)


    Hi there,

    On the website I’m working on using the ‘target’ theme:

    http://margrietprins.nl/wordpress/

    I’m having problems removing the gray image borders in my posts – example: http://margrietprins.nl/wordpress/logos-huisstijlen/

    I’m not sure whether to change it in my style.css or that it has something to do with my lightbox 2 gallery.
    I’ve tried many advices from other topics regarding different themes but nothing works. If anybody knows a solution, that would help me a lot!

    Thanks in advance
    Pieter

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

    (@kraftbj)

    Code Wrangler

    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!

    Thread Starter pb85

    (@pb85)

    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 ‘How can I remove gray image borders within posts using Target theme?’ is closed to new replies.