WordPress.org

Ready to get started?Download WordPress

Forums

NexGen how to put space around pictures in posts (3 posts)

  1. rikkidegraz
    Member
    Posted 6 years ago #

    They line up perfectly, smack side by side in the posts. I'd like a little space between pictures. Where do I do that?

    http://boyscoutscanada.ceconn.com

    Also, how do I put a slideshow in the post?

  2. RipRapRob
    Member
    Posted 6 years ago #

    Add something like this to your stylesheet:

    .content img {
    margin: 5px 5px 5px 5px;
    }

    Modify the "5px" to your liking (top, right, botttom, left respectively).

    .content img {
    margin: 0 5px 0 0;
    }

    will give you 5 pixel margin on the right side of each image.

    Hope this helps.

    /Rob

  3. rikkidegraz
    Member
    Posted 6 years ago #

    I tried but doesn't work. Where, exactly in CSS should I put that code? Right below #content?

Topic Closed

This topic has been closed to new replies.

About this Topic