hyunsupul / aesop-core

Open-sourced suite of components that empower interactive storytelling in WordPress.
http://aesopstoryengine.com
GNU General Public License v2.0
245 stars 56 forks source link

Add "has-image" class to collection items #309

Closed peiche closed 7 years ago

peiche commented 8 years ago

It's impossible to style collection items differently, depending on whether or not they have a featured image. The .aesop-collection-item-img div is always present, and it would be ideal if there were a class added to the parent .aesop-collection-item element that indicates if an image is available or not.

hyunsupul commented 7 years ago

Sorry for long delay. But this change has been made. Now the the class aesop-has-image class is added.