Summary |
Custom Category Boxes will render your categories as boxes with customized backgrounds on your categories page. This component will also render each category page with a category banner if show_banner is selected. |
|
Preview | Preview on Discourse Theme Creator | |
Repository Link | https://github.com/discourse/discourse-custom-category-boxes-component | |
New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install Component
Features
For this component to work
desktop category page style
needs to be set to eithercategories with Featured Topics
orBoxes with Featured Topics
There are four options to choose from. The default is halftones
.
Halftone Background
Crosshatch Background
None
Custom
If you would like to create this effect with some of your own artwork, upload 4 varying .png
's with transparent backgrounds or traditional .jpg
's in the settings page. For each upload, use the naming convention of custom-0
, up to the last as custom-3
. Be sure to select custom
as your category background setting.
Settings
Name | Description |
---|---|
category background | Select one the four options |
show banner | If selected, a styled banner will appear on each category page, matching the look of the category box. |
Translations | Default |
---|---|
more_topics | More Topics… |
Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.
Last edited by @JammyDodger 2024-06-11T15:12:05Z
Check document
Perform check on document: