I am very new to WordPress and I am having this issue now. My code displays all images and blog contents but the problem here is, if there are no images to display the content gets auto aligned since there is CSS for this class.
I need the blog post should get the width:620
if there are no images to post and width:420
if there are images in loop. Help needed.
Thanks in advance.