[Resolved] White Space in Post Thumbnails When Applying Box Shadow

Home Forums Support White Space in Post Thumbnails When Applying Box Shadow

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1351986
    Josef Carlo

    Hey Team,

    When I apply box shadow to post thumbnails for Archives, there is a white space below the post thumbnail image.

    I am using Left alignment for featured images and Medium for attachment size.

    The CSS I am using is

    .post-image
    {
    	box-shadow: 0 0 10px;
    }

    Screen-Shot-2020-07-05-at-2-31-21-AM

    #1352038
    Josef Carlo

    Hey Team,

    I think I got this. I missed putting img in the CSS. This code worked

    
    .post-image img
    {
    box-shadow: 0px 10px 30px 0px rgba(0,0,0,0.3);
    }
    

    I have marked this as resolved. Thanks!

    #1352049
    Leo
    Staff
    Customer Support

    Hi there,

    The CSS looks good.

    Glad you’ve figured out 🙂

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