Default CSS class for image in post
-
Hi.
Is it possible, for when you insert an image into a post, to automatically assign it a CSS class? Would just seem a little simpler than inserting the image, closing the media uploader, clicking on the image proper then navigating to advanced settings to change the class.
The reason being is I want to apply some custom CSS formatting to certain images in posts.
I imagine I would have to do this via the functions.php template (correct me if I’m wrong), but I’m not sure where to go after that. If anyone has any tips and/or solutions that would be great!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Default CSS class for image in post’ is closed to new replies.