Hello,
I want to have images in post full width for mobile view. Actually, it could be easy with global styles in generateblocks but there is a known bug for spacing on images. My content padding is left and right -20px. Instead of adding on every image -20px left and right I added an additional css class “post-image” to set margin-left and margin-right in the customizer > additional css.
The following code doesn’t work because I am using the image block with caption and I have the impression that I have to get into the figure class section where the class gb-block-image is used
@media(max-width: 769px) {
.post-image{
margin-right: -20px;
margin-left: -20px;
}
}
What am I missing? Or do I follow a wrong approach?