[Resolved] Creating a border around images

Home Forums Support Creating a border around images

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

    Hey there GP Team,

    I’m trying to create a simple 5px solid white border around a certain image on the homepage.

    I’ve attempted to achieve this by assigning an Additional CSS class (crg-image-border) to the image I’m looking to target and then using Tom’s Simple CSS plugin to enter the CSS.

     wp-block-image .crg-image-border {
        border: 5px solid #ffffff;

    I’m guessing the issue is I’m not using the correct selector, but I’ve tried several different selector combinations and digging through the forum for hints but haven’t been able to figure it out yet.

    Can you have a look and let me know where I’m missing the mark. Thanks!


    Hi again,

    False alarm. I sorted it out using the following CSS.

    .crg-image-border {
        border: 5px solid #ffffff;

    I swear that was the first thing I tried and it didn’t work. Maybe it was because the page I was working on wasn’t published and needed to be refreshed or some other user error.

    Thanks anyways!

    Customer Support
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.