[Support request] Bugs with latest posts block margins

Home Forums Support [Support request] Bugs with latest posts block margins

Home Forums Support Bugs with latest posts block margins

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2036472
    Ryan

    I was noticing there were some issues with the margins in a latest posts block. I was able to correct it with the following css, but I think it’s something you could check out.

    .wp-block-latest-posts {
    	margin: 0 0 0 0;
    }
    .wp-block-latest-posts__featured-image.aligncenter {
    	margin-bottom: 0px;
    }
    
    @media (max-width: 599px) {	
    	.wp-block-latest-posts.is-grid li {
    		margin: 0 0em 1.25em 0;
    	}
    }
    #2036491
    Ying
    Staff
    Customer Support

    Hi Ryan,

    I don’t think this CSS is added by GP (I could be wrong) as the latest posts block is a WP core block:
    https://wordpress.org/support/article/latest-posts-block/

    Can you link me to your site and keep cache plugin deactivated so I can see where the CSS is coming from?

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