[Support request] Adding a border shadow to images

Home Forums Support [Support request] Adding a border shadow to images

Home Forums Support Adding a border shadow to images

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2364584
    lewis

    Hi all, I am looking to add a grey shadow effect just like the images on this website https://www.homemade-gifts-made-easy.com/unicorn-coloring-pages.html . Just wonder how this is achieved. I have also added a link to my site with a similar layout and images. Thanks

    #2364746
    Fernando
    Customer Support

    Hi Lewis,

    If you have GB Pro, you can use a GB Image Block and do it through the Effects section. Reference: https://docs.generateblocks.com/article/effects-overview/

    Otherwise, you’ll need custom CSS. Are you planning to add this to all images in your site?

    #2364828
    lewis

    Hi Fernando. I have GP Pro, but have just been using the normal Gutenberg blocks, so would have to be CSS. I am only planning to add this to certain images on the website ideally.

    #2364833
    Fernando
    Customer Support

    I see.

    Add add-box-shadow to the class list of the images.

    Then, add this CSS:

    .add-box-shadow {
        box-shadow: 0 0 10px 0 rgba(0,0,0,.75);
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.