livewirerules
Member
Posted 2 years ago #
When i add a image to my blog post and align it to left or right, it breaks the layout and the image pops into the next post.
checkout the image below..
http://i48.tinypic.com/10frkuu.jpg
I need the image to stick into post without making image more smaller?
Thanks
It appears you image is being "floated" to the left (or right, as the case may be) which is a common CSS style in themes.
A possible fix is to put a "clear:both" div just before the end of the_loop.
livewirerules
Member
Posted 2 years ago #
Can you explain a bit how to do it?
Thanks
<div style="clear:both"></div>
Add the above code into the_Loop (using the example from the above link) just before this bit of code:
<?php endwhile; else: ?>
... in your theme's index.php template file.