How can I precisely position an image on a page or post?
-
Hello,
I want to be able to precisely position an image on a page or post (not just left, center, or right justify) using CSS and still have the ability to edit that image in the WordPress Admin area. I know that WordPress automatically assigns a class to every image I upload/insert and I can certainly use that class to position the image exactly where I want it. But if I replace that image via upload/insert, a new class is assigned and then the CSS has to be modified to maintain the image positioning.
I’ve looked at Custom Fields but haven’t found the answer there.
I’ve also considered using a custom page template, but with custom page templates any image you hard code into the template cannot be changed in the WordPress Admin area.
Surely there must be a way to do this so that the person maintaining the content in the WordPress Admin area can edit images at will without the need for someone else to modify CSS every time a change is made.
All replies are greatly appreciated.
- The topic ‘How can I precisely position an image on a page or post?’ is closed to new replies.