[resolved] How can I remove gray image borders within posts using Target theme? (3 posts)

  1. pb85
    Posted 3 years ago #

    Hi there,

    On the website I'm working on using the 'target' theme:


    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

  2. Brandon Kraft
    Happiness Engineer
    Posted 3 years ago #

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


    .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!

  3. pb85
    Posted 3 years ago #

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

    Thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Topic