WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Posting Several Images in One Place

[Resolved] Posting Several Images in One Place

  • I am attempting to add several images to one part of a page. I have opted to use full size images to make it less labor intensive to view the pictures. I have added captions to these images and when using several images, the captions look as if they belong to the picture below. Meanwhile, when you add an image and view it from the back end, you see a box around the image and the caption, making it easy to associate the caption with the image.

    Is there a way to include those boxes around the image and caption as I see when adding images? I am not a fan of how it looks without the box and need an alternative.

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi

    @esmi

    Forum Moderator

    Sounds like you need to edit/add to your theme’s stylesheet. A link to your site might help if you want specific suggestions.

    Thanks esmi. I like the boxes around the image when editing but they disappear once posted. URL is www[dot]causewaybaitandtackle[dot]com/fishing-blog

    esmi

    @esmi

    Forum Moderator

    Try adding:

    .wp-caption {
    	margin:0 10px 20px;
    	padding-top:4px;
    	text-align:center;
    }
    .wp-caption img {
    	margin:0 auto;
    	padding:0;
    	-moz-border-radius: 3px;
    	-khtml-border-radius: 3px;
    	-webkit-border-radius: 3px;
    	border-radius: 3px;
    	border:1px solid #DEE2E9;
    }
    .wp-caption-text {
    	margin:0;
    	padding:0;
    }

    to the bottom of style.css.

    Did that limit the padding below the image so the caption is closer to the image? Just want to understand what that fix did. It does look a little better though. Thanks!

    esmi

    @esmi

    Forum Moderator

    Yes it does.

    Awesome, thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Posting Several Images in One Place’ is closed to new replies.
Skip to toolbar