Support » Themes and Templates » Image Border Mystery

  • Resolved chaseshumway


    I’ve got a bit of a mystery on my hands… well, it’s a mystery to me. But to someone who knows their CSS it’s probably child’s play.

    Several weeks back I removed the borders and background color from the images that appear in our posts on our site. That way the images had zero border with just the caption text centered under them.

    Suddenly today, the borders are back! I haven’t the slightest idea why. Nothing has changed. I didn’t update anything or upload anything. They’ve just re-appeared. I’ve looked through my style sheet until my eyes glazed over and can’t figure it out. Since I already removed the borders via the style sheet before and I haven’t touched the CSS since then, I don’t know why the borders are back.

    My first guess is something with a cache? Maybe on my server? Any help would be appreciated. Thanks in advance.

    Here’s my site:

    You’ll see our images have a sort of Polaroid border. That’s what should not be there.

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s being created by this in your style sheet;

    .wp-caption {
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f3f3f3;
    padding-top: 4px;
    margin: 10px;

    Change #ddd and #f3f3f3 to reflect any color you want.

    Thanks ClaytonJames! I started to play with that before, but thought to myself “that’s not it”. I should’ve done it anyway. Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image Border Mystery’ is closed to new replies.