• I am having trouble centering the caption text underneath photos. I also am not able to figure out how to get rid of the white border that goes around the pic, which you can see here http://haunted-gettysburg.com/trostle-farm-ghosts/. That was not there until I added the caption, so I assume it’s connected to that, but I already went to the css and added border: 0; to the wp-caption and caption img etc..

Viewing 4 replies - 1 through 4 (of 4 total)
  • To remove the white borders, try getting rid of:

    .wp-caption {
    background-color:#FFFFF2;
    border:1px solid #FFE8DD;
    }

    in your page header – presumably added by Theme Tweaker. To center the caption text, edit style.css and change:

    .wp-caption p.wp-caption-text {
    background-color:#121212;
    border:0 none;
    font-size:11px;
    line-height:17px;
    margin:0;
    padding:0 4px 5px;
    }

    to

    .wp-caption p.wp-caption-text {
    background-color:#121212;
    border:0 none;
    font-size:11px;
    line-height:17px;
    margin:0;
    padding:0 4px 5px;
    text-align:center;
    }
    Thread Starter zimzum

    (@zimzum)

    Thanks esmi. The text is now centered. I don’t know why but the first thing didn’t do anything. Im starting to think that the white around the photo is actually a background color of something. I just can’t figure out what.

    No – it’s definitely from the CSS in your page header.

    Thread Starter zimzum

    (@zimzum)

    ok it’s fixed now. It was theme tweaker as you said.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problem with captions’ is closed to new replies.