• Hi,

    dsreview.freehostia.com

    For some reason my text wordwraps around the image itself, but no the caption.

    If you visit my site, above, and go to the latest reviews page you’ll see what I mean.

    Any help would be appreciated.

    Thanks.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Try adding the following to the bottom of style.css:

    .aligncenter,div.aligncenter {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    }
    .wp-caption img {
    	margin: 0;
    	padding: 0;
    	border: 0 none;
    }
    .wp-caption p.wp-caption-text {
    	line-height:1.5em;
    	padding: 0 4px 5px;
    	margin: 0;
    }
    Thread Starter don-mildreone

    (@don-mildreone)

    It fixed one caption, but not the other.

    Any more help…then one on the front page is now weird.

    Amend:

    .wp-caption img {
    border:0 none;
    margin:0;
    padding:0;
    }

    to

    .wp-caption img {
    border:none;
    float:none;
    margin:0;
    padding:0;
    }
    Thread Starter don-mildreone

    (@don-mildreone)

    Thanks for that, really appreciate it.

    I dont wanna be a nuisance but would it be possible to have a border around both pic and caption?

    It appears with a border around both in the post editor, but when I publish it it changes it to nothing.

    Thanks for everything.

    Try adding:

    .wp-caption {
    	border: 1px solid #ddd;
    	-moz-border-radius: 3px;
    	-khtml-border-radius: 3px;
    	-webkit-border-radius: 3px;
    	border-radius: 3px;
    }
    Thread Starter don-mildreone

    (@don-mildreone)

    Where abouts?

    Thread Starter don-mildreone

    (@don-mildreone)

    Done, but it looks a bit odd in all honesty. Not being ungrateful or anything.

    Thread Starter don-mildreone

    (@don-mildreone)

    Anyway I can make it the same as the post editor?

    Tweak the border width and color to suit.

    Thread Starter don-mildreone

    (@don-mildreone)

    Thanks for that. Is there anyway I can align the picture to the center of the border?

    Thread Starter don-mildreone

    (@don-mildreone)

    And the wordwrap is insanely close to the border itself…can i change that?

    the wordwrap is insanely close to the border itself

    Try adding:

    img:alignleft {margin-right:10px;}
    img.alignright {margin-left:10px;}

    to style.css

    Is there anyway I can align the picture to the center of the border?

    Change:

    .wp-caption img {
    border:none;
    float:none;
    margin:0;
    padding:0;
    }

    to

    .wp-caption img {
    border:none;
    display:block;
    float:none;
    margin:0 auto;
    padding:0;
    }

    in style.css

    Thread Starter don-mildreone

    (@don-mildreone)

    The images are now centred, that’s fine. But the wordwrap is still as close as it could be.

    Any fix?

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

The topic ‘Caption’s screwing up!! Please help.’ is closed to new replies.