Archived topic
Round images for Dispatch theme [only the "simple" category]
7 replies · Started by liz on July 17, 2021
Hi,
Round images for Dispatch theme [only the "simple" category]
Thanks.
Hi there,
i am not sure thats going to work - could add Rounded Corners but making the background image Round is going to cause some problems. Let me know.
Hi,
Rounded corners will do. Only to be shown on the front page under the "More articles" category. Thanks. The website is in the private info field.
Try this CSS:
#wpsp-1471 .wp-show-posts-inner {
border-radius: 5px;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Thanks, Leo..looks nice...what if I want to apply it to all the images? Sorry =(
Hi Lisa,
You can do with something like this:
.wp-show-posts .wp-show-posts-inner,
.wp-show-posts-image img {
border-radius: 10px;
}
But will not be effective for some of your image, especially the ones with white spacing. Example - https://share.getcloudapp.com/L1uBAPED
You'll have to fix the featured image of that post as CSS can't do anything about that white spacing if it's a part of the actual image file.
Thanks a lot, alvin! =)
Glad to be of any help. No problem.
Stay safe! :D