WordPress.org

Ready to get started?Download WordPress

Forums

adding padding when entering multiple images 3.5 (3 posts)

  1. Jaabie
    Member
    Posted 1 year ago #

    please can anyone help with this problem,

    When inserting say 30 images int a post (not using a gallery), the images get entered in one big long list without any space, is there any way to set padding around the images so I don't have do it manually?

    eg.

    http://shutterliving.com/gangnam-style/

  2. kjodle
    Member
    Posted 1 year ago #

    If your theme has a custom CSS function, try adding this:

    .entry img {padding:20px;}

    If it doesn't have a custom CSS function, create a child theme and add that code to child theme stylesheet.

  3. Jaabie
    Member
    Posted 1 year ago #

    Hey Kjodle

    ...thanks for getting back to me, I just tried this (by adding it to the bottom of my styles.css in the editor (is that correct?)

    however it did not change when i added multiple images to a post. All the images ran together without a space between them.

    Ideally i would like it to put TWO lines between each photo rather that 20px padding, this would keep it consistent to my other blog posts.

    Any ideas VERY welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.