• I have configured a static home page to show my posts using Elementor. However the featured images around each post have a lot of excess padding around it. This seems to be coming from the CSS associated with the image container.

    I want to remove the excess padding around the image. Please advise as to how I can achieve this.
    Thanks

    • This topic was modified 2 years, 8 months ago by Yui. Reason: moved to fixing wordpress

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @anuragd7

    You just have to add the CSS style code given below.

    .home .elementor .elementor-post__thumbnail img{
        width:100%;
    }
    
    .home .elementor-element.elementor-element-f0e98af .elementor-posts-container .elementor-post__thumbnail {
        padding-bottom: 40px;
    }

    Thanks

    • This reply was modified 2 years, 8 months ago by Aezaz Shekh.
    • This reply was modified 2 years, 8 months ago by Aezaz Shekh.
    Thread Starter anuragd7

    (@anuragd7)

    Hi @aezazshekh
    Thanks for the response. I updated the CSS in the global settings but there is no change in the padding.
    Am I doing something wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Excess padding around featured images in posts’ is closed to new replies.