Creating a “Featured Categories” Body on the Homepage
DonkeyKongEnjoyer is seeking a way to create a layout on their homepage similar to the Featured Lists theme-component, but instead of featuring topics, they want to display categories. Heliosurge suggests checking out existing components like category groups, featured categories header, and Modern Category Boxes from the Air theme.
Nolo recommends a specific component, discourse-featured-categories, which can achieve the desired layout. However, it requires customizing the CSS for different layouts. DonkeyKongEnjoyer thanks Heliosurge and nolo for the suggestions and plans to explore them further.
Heliosurge provides the GitHub link for the Modern Category + Group Boxes component, which may also be a suitable solution.
I’m wanting to create a layout on my homepage similiar to this one from the Featured Lists theme-component, but instead of featuring topics in this body, I’m wanting to display categories. Clicking on these category listings would link to that particular category with all of it’s topics.
(The box on the left is taken from the Featured Lists theme-component topic, and the box on the right is what I’m trying to achieve. Showing categories instead of topics.)
It has a basic list layout set up. However, I didn’t define other layouts so far and I likely won’t until I’d need it in a project. So if you’d want to customize the layout you’d have to figure out the CSS yourself.