Support » Plugin: Simple Image Widget » Need border around image

  • Resolved allegra1212



    I tried about everything but cannot find the way to add a border (and 4px padding) around images from image widget – great plugin by the way – just this border problem. I have a border in my theme css but for some reason it is not applied to the image widget.

    Please would you mind to let me know where I could add that?

    Thank you so much for your help 🙂

Viewing 1 replies (of 1 total)
  • Plugin Author Brady Vercher


    Hi allegra1212, your theme’s CSS is indeed where you would add the border. If you want to target images added using the widget, you would need to use this selector:

    .simple-image img {
        border: 1px solid #ff0000;

    If you want to add padding, you may need to apply your styles to the parent p p tag.

    – Brady

Viewing 1 replies (of 1 total)
  • The topic ‘Need border around image’ is closed to new replies.