Jump to content
You're invited! Join our 4.6 Live Event on ZOOM 6/24 ×


Highlight featured topics in Activity streams


Recommended Posts

Featured topics should be the ones you want to focus some attention at. Yet, currently they are only highlighted briefly in topic list with a small icon and only if you create a dedicated feed for them. I use both of these in my community and the results are underwhelming. I want featured topics to be more prominent. 

It would be much more eye catching and attention grabbing if we can highlight the background of such topics in activity stream or maybe in topic list as well. Something like this (click on the link, attaching images is currently buggy):










I've seen it on reddit and it really makes topics pop out in a prominent, but not overly invasive way. 

Would something like this be easy to achieve, maybe as a 3rd party mod too?

Edited by jair101
Link to comment
Share on other sites

  • 3 months later...
On 6/13/2020 at 9:43 AM, jair101 said:

Would something like this be easy to achieve, maybe as a 3rd party mod too?

There might be plugins providing this functionality, but it's quite easy to achieve yourself by simply editing your theme.

In your theme, find the file forums > front > forums > topicRow and add the following inside the class attribute on line 50 (the <li> element):

 {{if $row->mapped('featured')}}customFeatured{{endif}}

Then, edit your custom.css file to set a background color for the new customFeatured class:

.customFeatured {
	background-color: pink;

This should give all featured topics a nice background color.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy