Build Your Blog Online ClassLearn More

How to Easily Adjust Spacing Between Images

Adding space between images easily in WordPress

Normally, when you add images to a page or post in a horizontal line, they butt up against each other. In the screen shot above, you will see in the first row what I’m talking about. In this video I will show you how to easily add space between images as you can see in the second row.

<embed src="http://vimeo.com/moogaloop.swf?clip_id=49247428" type="application/x-shockwave-flash" width="400" height="300"></embed>

 

About the author

Bob Dunn By Bob Dunn --I'm a WordPress trainer and coach. I love teaching individuals and groups on how to get the most out of WordPress, blogging and social media. You can also find me doing online classes, workshops, and speaking for small and large groups. Connect with me on Google

Comments

  1. Thanks Bob. I love the way you make this clear, understandable and actionable. Much appreciated. Cheers! Kaarina
    Kaarina Dillabough recently posted..Kudos to 71 ContributorsMy Profile

  2. Thanks a lot bob for your tutorial. Really useful for me.
    GoWebBaby recently posted..The Power of WordPressMy Profile

  3. You can also style each image using the CSS Class generated for each wp-image i.d
    Brad Dalton recently posted..Adding Horizontal Spacing Between ImagesMy Profile

  4. .wp-image-12345 { border: solid 5px red } Only one line Bob!
    Brad Dalton recently posted..2 Ways To Remove Post Meta & Post Info LinksMy Profile

  5. Hi Bob,
    I found this very helpful, thank you. However, for some reason all my photos are ending up in a single line, left justified on the page. I chose none as format. Any thoughts? Thanks, Lisa
    Lisa Magoulas recently posted..Childhood ObesityMy Profile

    • Hey Lisa, unfortunately this doesn’t work for centering… when you put several images using none, it just drops them in according the left margin. And if you try to center, or left or right justify, they will all go wonky. This really works best if you have several images that will file the area.
      Bob Dunn recently posted..Infographic: How to Optimize Videos for SEOMy Profile

  6. Your video just confirmed my notion that the gallery feature is useless. Your way is much better if not more tedious. My problem is that after I upload an image and mess with it I cannot get the pointer in the right spot to upload the next adjoining image. Sometimes they turn out to be not aligned. With some success I use my direction keys to get back to the right spot. Also, what if I want to swap positions….trying just to push the images around has very unpredictable results. Any advice on either issue?

    • Hey Claudia, you made some good points. This isn’t the most effective way to create a gallery. It’s better for some simple, static images that you might want to place somewhere specifically on your site.

      And yes, when you start using different alignments in WordPress, things can go incredibly wonky.

      If you are wanting more of a gallery, and want to replace images and place easily, you might want to check out something like nextgen gallery plugin.
      Bob Dunn recently posted..Have You Seen Me Speak at a WordCamp?My Profile

  7. I have used Nextgen and it was great for organizing thumbnails but in this case I need line up photos of varying widths. My workaround could be to create a single photoshop image of the gang of photos.
    Thanks for your advice on the spacing…I just made use of it today.

    • Yeah that makes sense. I’ve done it myself in Photoshop when I didn’t need individual hyperlinks. For example that was the easiest way for me to do my testimonials on my online blog class page.

Speak Your Mind

*

CommentLuv badge