Hi all,
I’ve been trying using the GB pro Image Block but it never seems to work on my website (with GeneratePress pro as theme).
For example on this page À propos de l'auteur du site Electroportatif.net the first image is a WP image block and the second one is a GB Pro image block.
I’ve set the WP image as round and the CSS is applied.
However on the GB Pro image block which I set a border radius of 999 on all 4 sides, the image doesn’t have the border radius applied.
Both images are the same with a 350 px width.
I’m trying to use the GB Pro image block as the WP image block doesn’t let me reduce the image width on mobile so it appears full screen which is not great desgin wise.
I’ve added this CSS to have all my images on full width on mobile except for AAWP, but even when I remove it, the GB Pro image block doesn’t apply the border radius.
Here’s the CSS :
/* Wide Image on Mobile */
@media (max-width:768px) {
#main .entry-content img:not(.aawp-product__image), #main .featured-image img:not(.aawp-product__image) {
margin-left: -30px;
margin-right: -30px;
max-width: 100vw !important;
}
}
@media (max-width:768px) {
#main .entry-content .noforcing img {
display: block;
max-width: 90%!important;
margin: auto;
}
}
If someone could tell me why I’m having this issue, I’d be very grateful
Thanks all and have a great day !
Fred