• The frame around the image was lost after publishing.
    I dont know is it about the theme. You can visit the post here.
    Can anyone help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Me too. I can see the caption frame in the edit post window, but it doesn’t show up when published. And it used to work fine–I wonder if it could have anything to do with the 2.7 update?

    If anyone has any suggestions on how to fix this I’d love to hear them.

    OK, I just got my caption frames working again. I was reading this thread, which has the proper css code for captions. I copied that and added it to my theme’s style.css file. I still don’t understand what happened, as caption frames used to work fine with the same theme (Brodie), but it’s working now.

    Here’s the code (I just pasted this below the existing code in my theme’s style.css file):

    .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;
    }

    Jimtron – just a quick “thank you” as I’d just spotted the same problem and that fixed it perfectly!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Lost frame around image caption after publishing’ is closed to new replies.