Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #410032

    Hi guys, I’m trying to add on a white border around 3 images on my homepage. I added in a custom CSS class on the images themselves (homepage-images) and have used this code in the quick CSS but nothing’s changing…
    #homepage-images.avia-image-container img {
    border: 15px white;
    padding: 5px;
    }

    I’d also like to know how to add a shadow to the border, if that’s ok/possible?

    Could you please let me know what I’m doing wrong or perhaps I have something in my quick CSS that’s overriding it?

    Login deets below if you need

    Thank you :)
    Sarah

    • This topic was modified 9 years, 8 months ago by saremcdee.
    #410116

    Hi Sarah!

    Try adding this to your custom CSS.

    #custom-section .avia_image {
      border: 15px solid white;
      padding: 5px;
      box-shadow: 0 0 4px black;
    }

    Cheers!
    Elliott

    #410207

    Perfect, thanks so much as always ! :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Border around certain images only’ is closed to new replies.