Thin border around images

Community Forums Forums Design Tips and Tricks Thin border around images

This topic is: resolved

This topic contains 6 replies, has 2 voices, and was last updated by  sbetschel 1 year, 9 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #9592

    sbetschel
    Participant
    Post count: 13

    When I updated to the education theme to my site, every picture within the site pages have a thin border around them. I have tried going into the style sheet to eliminate, but I do not see anything. Please help

    #9597

    Robert Neu
    Participant
    Post count: 90

    Could you please post a link to your site so we can debug?


    Co-Founder of Audit WP, a WordPress SEO audit service and Flagship, a new WordPress theme company launching soon!

    #9598

    sbetschel
    Participant
    Post count: 13
    #9599

    sbetschel
    Participant
    Post count: 13

    You know what. I just fixed it. There was a border I found in the style sheet that was listed at 5px. I set it to zero and now it seems to be working.

    #9600

    Robert Neu
    Participant
    Post count: 90

    I’m not seeing any border other than what you’ve added in photoshop. There is a bit of padding around the images though.

    If you edit this line:

    img.centered,
    img.alignleft,
    img.alignright,
    img.alignnone,
    .post-image,
    .wp-caption {

        background: #FFFFFF;
        border: none;
        padding: 1px;

    }

    to look like this:

    img.centered,
    img.alignleft,
    img.alignright,
    img.alignnone,
    .post-image,
    .wp-caption {

        border: none;

    }

    You should see that 1px white line removed.


    Co-Founder of Audit WP, a WordPress SEO audit service and Flagship, a new WordPress theme company launching soon!

    #9601

    Robert Neu
    Participant
    Post count: 90

    Ah, alright. I was wondering if maybe I was going crazy there for a minute… LoL


    Co-Founder of Audit WP, a WordPress SEO audit service and Flagship, a new WordPress theme company launching soon!

    #9602

    sbetschel
    Participant
    Post count: 13

    Thank you very much. I will take care of the white border.

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Thin border around images’ is closed to new replies.