WordPress.org

Ready to get started?Download WordPress

Forums

Image Borders (5 posts)

  1. rcmullins
    Member
    Posted 8 years ago #

    I am using the Andreas Template 09. Very nice. But when I link to a photo in flickr (ex. <img src="http://flickr.somephoto />) the template automatically places a border around the image. I would like to take this off, but I can't seem to find it in any of the .CSS's.

    Anybody got any suggestions?

  2. yosemite
    Member
    Posted 8 years ago #

    Yeah, post a link...

  3. seanrox
    Member
    Posted 8 years ago #

    Andreas likes using image classes for left, right and center, so look in the css for something like img.left etc and go from there.

    I agree with Yosemite, if you post a link to your site in question, we can help you a little more.

    I just looked at the css for the Word Press version of the theme. Look in the style.css for the following:

    /* Image Display */

    Which is around line 326. Just below that you'll see the following code:

    .entry img, .entrytext img {
    border: 1px solid #b0b0b0;
    margin: 5px;
    padding: 5px;
    }

    Just change border: border: 1px solid #b0b0b0; to border: 0px;

  4. rcmullins
    Member
    Posted 8 years ago #

    That was it, Thanks a ton!

  5. rcmullins
    Member
    Posted 8 years ago #

    btw, what do the others do? ie
    .entry a:hover img, ..entrytext a:hover img
    img.wp-smiley
    .thumbnail
    .left
    .right
    .noalign

    I know what they kinda mean, but not what they go to. I am guessing sidebar stuff.

Topic Closed

This topic has been closed to new replies.

About this Topic