Archived topic
Image style 'Rounded' not showing
3 replies · Started by Juned on September 10, 2021
Hi,
I have selected image style as Rounded, still it is reflecting as default (square) at home page (Featured Categories images).
What is this issue? How to resolve it?
Thanks in advance.
Hi there,
your site isn't loading the core Block styles which means you need some CSS to add the rounded style back in.
Try this
.is-style-rounded img {
border-radius: 100%;
}
Thanks a lot Sir.
Please suggest what is the issue? How do I get it rectified?
Is it due to my 'hosting' or 'EWWWW/Easy IO/Lazy Loading' or 'Perfmatters'?
Regards
Juned
I don't know ... none of those plugins should remove the /wp-includes/css/dist/block-library/style.min.css that is required. Perfmatters has the ability to disable scripts and CSS including that one - see here:
https://perfmatters.io/docs/disable-scripts-per-post-page/
But if you're not having any other block styling issues then its not a problem, and you can just add the CSS i provided. It will be a lot more performant then having all the block-library loaded if you don't need it.