Site logo

Archived topic

image-style CSS not working

3 replies · Started by Joseph on March 14, 2021

Viewing posts 1–4 of 4

Hello Support Team,

On an image block on my homepage and about page, under 'advanced CSS class' I have 'image-style'. This is not working. The images are appearing as squares, and not rounded edges.

I have the default additional CSS from the coach theme, which can be seen in the 'customize' view on wordpress.

I have done all the pre topic checks and nothing has worked.

I believe the issue may have started after one of the recent wordpress updates, but I cannot be sure. I have not really edited my site for a while, and this issue started out of the blue.

Any help would be greatly appreciated.

Regards
Joe

Hi there,

change your CSS to:

.wp-block-image.image-style img {
    border-radius: 80px 4px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
}

It worked like a charm.

Thanks David.

Glad to hear that.

This archived topic is closed to new replies.