Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: change styling if freshness less than 24 hours

@neon67

Participant

So, the final css looks like this (you must put “a”)

#bbpress-forums .bbp-topic-freshness .dayfresh  a {
background-color : #f4ffe8 ;
	border: 1px dashed;
	color: #475656;
}

also 86400 looks a lot – captures the 2nd day. Perhaps need to set 23 hours. But these are little things ))

Thanks to Robin for the great code!))
I think this is a useful find for those who visit the forum once a day and immediately see how many topics have been updated in the last day.
Colored blocks are very noticeable – it’s better than straining and peering at the date numbers.

Skip to toolbar