Solved

Custom Styling of Questions-with-zero-replies in Activity Feeds

  • 15 February 2024
  • 2 replies
  • 38 views

Userlevel 6
Badge +7

Because I got such a fast and great solution in this question…

 

Is there a way to create a similar script based on if a question has 0 or less than one reply? I’d want to change the color of the Title in the activity feed to make it visually stand out. 

cc: @leo-inspired & @olimarrio 

icon

Best answer by leo-inspired 16 February 2024, 05:43

View original

2 replies

Userlevel 3
Badge +1

I'm not a front-end expert, but I tried to make a script for this and was unable to do it. It's tough because the reply icon, like counter, and timer all use the same CSS class. Also, changing the topic title color separately isn't easy because it's connected to the 'Heading color.'

It might be doable with more advanced JavaScript, perhaps with help from a front-end engineer. Something like:

 

Userlevel 6
Badge +7

@leo-inspired thanks for trying!

Reply