Dynamically added class based on content presence.