Hi there,
I would like to add padding around an image when I add the Media Element>”Image” to the builder.
I only want it to be for this particular image, and not for all images on the site.
For the life of me I cannot figure out how, although I understand how to add padding to all images on the site. I tried to Google and search in the forum too.
Could you help me please? Sorry to bother!
Thank you!
Hey daineax,
You can add a custom class or ID in the element option, go to Advanced->Developer Settings. Your class will be added to the container element, so if you are looking to target the image, your CSS would look like this:
.image-class img {
padding: 10px;
}
Best regards,
Rikard