wrap div around images
Hi, I’d like to know how to set wordpress to automatically wrap a <div> around any <img> that users insert into the posts (and only those <img>!).
I have a CSS need to style those with a <div> around, because I have to use a pseudo selector ‘:before’ and it won’t work with <img> alone (or at least I can’t).
Thanks so much! 😉
- The topic ‘wrap div around images’ is closed to new replies.