[Support request] How Do You Create A Shadow For An Image?

Home Forums Support [Support request] How Do You Create A Shadow For An Image?

Home Forums Support How Do You Create A Shadow For An Image?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2316436
    Charles

    How do I create a shadow for an image on my website?

    I know it’s a bit of code but there’s nothing I could find in the forum.

    Thanks,
    Charles

    #2316499
    David
    Staff
    Customer Support

    Hi there,

    which image ? Can you share a link to where i can see it?

    #2316933
    Charles

    https://bellamitriboudoir.com/

    I’d like a shadow for the main image and then the three smaller ones below.
    Also for the ones on the About Me page as well.

    Charles

    #2317024
    Ying
    Staff
    Customer Support

    Hi Charles,

    In order to target those images, you can add an additional CSS class to the image blocks, eg. shadow-image.
    https://wordpress.com/support/wordpress-editor/adding-additional-css-classes-to-blocks/

    Then add this CSS:

    .shadow-image img {
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.