Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Custom css for all images?

Home / Forums / Kadence Theme / Custom css for all images?

This topic is: Resolved
[Resolved]
Posted in: Kadence Theme
March 13, 2024 at 8:52 pm

I have an image alignment issue –

Client has put images in a LOT of posts using the classic editor (visual editor) that are unaligned and currently just sit neatly side by side on their live site with an old genesis install, but on the staging site with Kadence they stack….

I *think* it is because there is css that is setting the images to display: block, and if I changed it to display: inline-block that might fix the issue??

But what is the css selector used to style all images on a wordpress site?

When I try, for example

img {
border: solid black 10px;
}

I can see the ‘img’ is red meaning the selector is wrong, but I can’t for the life of me figure out what selector to use??

Or if anyone has any other ideas how to fix the image issue? Unfortunately it’s not easy to share the staging site so you can actually see it, but it’s not a spacing issue so apart from this css change I am stumped!

Thank you!

  • The forum ‘Kadence Theme’ is closed to new topics and replies.