How to position images in a different div than the text of my posts
-
Hi,
I am new to wordpress.I made an image for easier understanding: https://imgur.com/UZB3B.png
I am creating a new theme and I want to position my images in posts to position right to the text of my post (uploaded picture 1&2 in the linked image). So I don’t want the text to float around the images, and I want the same padding between the images.
In html I would create two div-s, one for the text and one for the images, but I have a feeling that wordpress wolud put all uploaded image to the same div as the text.
How should I proceed in coding the css to later when I “wordpressize” my static html it would work like I needed?
Thanks in advance!
sorry for my grammar)
- The topic ‘How to position images in a different div than the text of my posts’ is closed to new replies.