Keeping the space when there is no feature image assigned
I’m using the default twenty-eleven theme. I am calling the feature image of posts to be on the left and the text on the right when showing all the posts of a category as a list. It looks beautiful when there is a feature image. However, when there is no featured image, the text moves left because the div for the feature image collapses when there is no feature image.
My question is how to keep the feature image div from collapsing when there is no content. It’s similar to using “display:block” to keep a regular div from collapsing when there is no content. I’ve tried display:block, min-widths, etc. and nothing.
Anyone have an idea to point me in the right direction?
- The topic ‘Keeping the space when there is no feature image assigned’ is closed to new replies.