Skip to main content
Configure HumHub documentation

HumHub theme: colors, logo, Clean Theme and dark mode

Most organizations want their community to look like theirs: their logo, their colors, a login page that does not say "HumHub" in big letters. In HumHub 1.19 all of it is done from the administration, without writing code; a custom theme is only needed for a different layout.

Last updated: .

In shortLogo, icon, login background, email header and the nine theme colors are in Administration → Settings → Appearance. Images must be PNG or JPG: SVG files are refused. The free Clean Theme adds fonts, text and background colors, menus and a dark variant; the Dark Mode module lets members switch.

The Appearance page

Administration → Settings → Appearance holds the look of the whole community:

  • Theme: the theme in use. HumHub ships its own; installed theme modules add theirs to the list.
  • Nine colors: Primary color, Accent color, Secondary color, Success color, Danger color, Warning color, Info color, Light color and Dark color, each with a Default box that keeps the theme's own value.
  • Custom SCSS: style rules for the few cases the settings do not cover ("Use Sassy CSS syntax (SCSS)"). A rule that does not compile is refused with the compiler's message, so it cannot break the site.
  • Images: logo, icon, login background, email header (below).
  • Display options: User Display Name (username, or first and last name), its subtitle, "My Spaces" Sorting, Date input format and Post title, which lets posts have a title above their content.

The Primary color is the one to change first: buttons, links and active menu items take it. Pick an Accent color that stays readable on white and on the primary color.

The Theme customization section of HumHub's Appearance page: the nine colors with their Default boxes, and the Custom SCSS field

Images and their sizes

The sizes HumHub 1.19 asks for, read in its code:

ImageRecommendedMinimum
Logo uploadat least 248 px high100 × 120 px
Icon upload (browser tab and home screen icon)512 × 512 px256 × 256 px
Login Background1920 × 1080 px800 × 600 px
Email Header Image600 × 150 px50 × 50 px

All four accept PNG, JPG and JPEG only. Export an SVG logo as a PNG, twice the displayed height for sharp screens, with a transparent background if the top bar is colored. On the E-Mail settings page, Show network name instead of logo in email header replaces the image by your community's name.

Clean Theme: more than colors

Clean Theme is a free theme module made by CUZY. Once installed and chosen in Theme, its configuration (Administration → Modules → Clean Theme → Configure) adds:

  • Text colors and Background colors, each with a second value for dark mode.
  • Base fonts and Heading fonts: family, size and weight.
  • Panel borders, Menus, Top menu, Bottom menu and Menus on small screens: on phones, the main menu becomes a bottom bar.
  • Import/Export the configuration as a file, to copy a look from a test community to production.

The primary and accent colors stay in Appearance: the theme uses them.

Clean Theme Pro adds a left menu that lists every space by category with unread counters, a full-width layout and a consistent look in the administration and messages.

Dark mode

The free Dark Mode module of the marketplace switches HumHub's dark color scheme on. Its settings: Default Mode (Follow system, Light or Dark) for members who have not chosen, and Show Button in Top Bar. Members can also choose in their account settings. With Clean Theme, the dark values of its colors apply.

Check your logo on a dark background: a dark logo on a transparent background disappears.

When you need a custom theme

Settings cover colors, fonts and images. A different page layout, other templates for some views or a design system with its own components need a theme of your own, which is a module with files: a developer's job, and it must be maintained at each HumHub upgrade. Start from the settings and Clean Theme; most communities never need more.

A ten-minute routine

  1. Upload the logo and the icon.
  2. Set the primary and accent colors; leave the others on Default.
  3. Add a login background if the login page is the first thing members see.
  4. Look at the result on a phone and in dark mode before announcing it.

The first 10 steps place this third, after the basics and the legal pages.

On a CUZY hosted community

Clean Theme is installed and enabled in every new community, so the theme configuration is there from the first sign-in; the logo stays under Appearance. Clean Theme Pro is a paid CUZY module: on the trial, modules are pre-installed, including all the most popular paid CUZY modules; on the Team plan, every paid CUZY module is available at 50% off; on the Business plan, every paid CUZY module is included (CUZY modules). The Dark Mode module installs from the marketplace on every plan. A theme of your own is deployed by CUZY after review on the Business plan. See the plans or try it free.

Read next

Try HumHub with your own content

A hosted community in two minutes, all paid CUZY modules included, no card asked. Keep everything when you subscribe.

Loading...