adding padding when entering multiple images 3.5 (3 posts)

  1. Jaabie
    Posted 3 years 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?



  2. kjodle
    Posted 3 years 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
    Posted 3 years 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


No tags yet.