wpsmith / genesis-sandbox-featured-content-widget

Genesis Sandbox Featured Content Widget. Based on Nick Croft's Genesis Featured Widget Amplified for additional functionality which allows support for custom post types, taxonomies, and extends the flexibility of the widget via action hooks to allow the elements to be re-positioned or other elements to be added.
39 stars 21 forks source link

alignleft, alignright, aligncenter class applied on both link and image #60

Closed Sogwap closed 9 years ago

Sogwap commented 9 years ago

As shown here the class="alignleft" is applied to both the link and image, causing margins to be applied twice.

< a class="alignleft" title="The Chocolate Dynasty" href="http://cmg.sogwap.net/the-chocolate-dynasty/"> < img class="entry-image attachment-post" width="150" height="150" itemprop="image" alt="mars_featimg" src="http://cmg.sogwap.net/wp-content/uploads/2014/08/mars_featimg-150x150.png" > < /a >