Forums

[resolved] Image caption does not work (2 posts)

  1. baal666
    Member
    Posted 3 years ago #

    Hi,

    The image caption does not work for me. I enter the text, I get a caption id e.g.

    [caption id="attachment_1577" align="aligncenter" width="500" caption="Une nouvelle carrière pour le démagogue régionaleux?"]<img class="size-full wp-image-1577" title="dumont_girouette" src="http://lelectronlibre.net/carnet3/wp-content/uploads/2008/12/dumont_girouette.jpg" alt="Une nouvelle carrière pour le démagogue régionaleux?" width="500" height="754" />[/caption]

    but there is no grey box around the picture, only plain text below. Anyone know how to resolve this?

    Thanks

    Nevermind: I saw a post from Otto solving that problem by adding this code:

    .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;
    }
  2. baal666
    Member
    Posted 3 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.