wordpress image block settings

Remove top and bottom padding from images and cover block

.pt-cv-content-item {
padding-bottom: 0px;
}

/*covermedia top and bottom border padding*/
.alignfull {
margin: 0px 0;
}

/*coverphoto bottom border*/
.pt-cv-ifield > *, .pt-cv-view .pt-cv-content-item > * {
margin-bottom: 0px;
}

for a whole block all images 

.kanha .wp-block-image img {

   border:2px solid red;

}


remove border photo caption

.wp-caption { border: none; }

Leave a Comment

Your email address will not be published. Required fields are marked *