Formatting widget
-
Thanks for a great plugin. This really helped me solve a problem.
I’m trying to clean up the formatting of the widget. Right now, there’s a cascading effect caused by the images along with height/margin/padding.
See the screenshot at http://screencast.com/t/fDHA54csnrI.
I can fix it by either applying a min-height or margin-bottom to the .news class. But neither seems to be a great solution since it’s creating different spacing between the items. Even the margin-bottom creates different spacing because the height of .news is not respecting the height of the attached image. So if the image is 100px but the rest of the item is only 75px, the next item will not be properly formatted.
Do you have a good fix for this?
I was thinking it would make sense to put the image in one div and the headline, excerpt (if displayed), and date in a separate div. Then float the image div left and the content div right. But I haven’t tested that to see if it works.
Thanks.
The topic ‘Formatting widget’ is closed to new replies.