• Resolved coopercromar

    (@coopercromar)


    Can you give me the code to put a light border around placed pictures within a post or a page and not the featured image for the Custom CSS section?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Thanks for using Period!

    Sure, I’d be happy to help with that. The following CSS should do the trick:

    .post-content img {
      border: solid 3px #e5e5e5;
    }

    That will affect all images within the post and page content.

    Thread Starter coopercromar

    (@coopercromar)

    Thank you! Your support is perfect. ??

    Hi,

    That was good of you to help @bensibley. I was going to use your plugin for adding borders, but it says that it hasn’t been updated in two years and is not tested with the version of WP I have.

    Are you still supporting it? I’ve had a problem adding image border css to my site for a while.

    I’m going to try your solution as well.

    Theme Author Ben Sibley

    (@bensibley)

    Hey,

    No, I made that plugin as a fun sideproject but am not dedicating time to keep it updated and supported. The snippet shared here will work to add borders to images with the Period theme.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image borders’ is closed to new replies.