Add class to new posts with Views I have a view (using Views module), which displays a list of all Titles of a custom content type. What I want to do is add a CSS class to the posts that are new (posted within 24 hours for example). I am guessing I need to create a custom module to do this, but am confused where to start. Any help is appreciated.
You may want to simply make use of the existing field available in views called:


  Content: Has new content  values
  Add that as a field or use it to customize another field, it is pretty handy.


Some more information on what constitutes as NEW or UPDATED:
for how long is Content considered &quot;new&quot; by the filter criteria &quot;Content: has new content&quot;?