WordPress.org

Support

Support » How-To and Troubleshooting » adding padding when entering multiple images 3.5

adding padding when entering multiple images 3.5

  • Jaabie

    @jamieacowangmailcom

    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.

    Gangnam Style, Paris

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Jaabie

    @jamieacowangmailcom

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘adding padding when entering multiple images 3.5’ is closed to new replies.
Skip to toolbar