• Resolved 773067

    I like the way the captioned images show up in WYSIWYG editor in the post composer (light gray box surrounding image and caption), but they do not show up that way in the actual blog. I’m using the PhoenixBlue theme, and there the captions just show up left justified on a line below the image, with no gray box.

    Is there some edit I can make to the PhoenixBlue theme to make it handle captions the same way as the WYSIWYG post editor?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter 773067

    Fixed by pasting this into PhoenixBlue’s style.css (stolen from WordPress Default theme’s style.css)

    /* Captions */
    .aligncenter,
    div.aligncenter {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    }
    
    .wp-caption {
    	border: 1px solid #ddd;
    	text-align: center;
    	background-color: #f3f3f3;
    	padding-top: 4px;
    	margin: 10px;
    	-moz-border-radius: 3px;
    	-khtml-border-radius: 3px;
    	-webkit-border-radius: 3px;
    	border-radius: 3px;
    }
    
    .wp-caption img {
    	margin: 0;
    	padding: 0;
    	border: 0 none;
    }
    
    .wp-caption p.wp-caption-text {
    	font-size: 11px;
    	line-height: 17px;
    	padding: 0 4px 5px;
    	margin: 0;
    }
    /* End captions */

    That’s IT! Thank you so much for this fix. Note: it works for many more custom themes, not just the one above.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fixing captions in 2.6 with PhoenixBlue theme’ is closed to new replies.