WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Posting Several Images in One Place (7 posts)

  1. IMC
    Member
    Posted 4 years ago #

    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.

  2. esmi
    Forum Moderator
    Posted 4 years ago #

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

  3. IMC
    Member
    Posted 4 years ago #

    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

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    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.

  5. IMC
    Member
    Posted 4 years ago #

    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!

  6. esmi
    Forum Moderator
    Posted 4 years ago #

    Yes it does.

  7. IMC
    Member
    Posted 4 years ago #

    Awesome, thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic