W3CSS Theme logo
Amunet - W3CSS Sub-Theme

Amunet is a sub-theme of W3CSS Theme. It uses a compact header with a menu button at the left, the branding in the middle and a search button at the right. The menus open in a side panel.

Choose it when you want a short header on every screen size and the menus out of the way until the visitor asks for them.

Start here

See it working

The screenshot shows the W3CSS Theme demo site. The live demo shows Amunet.

W3CSS Theme demo site in light and dark modes

What Amunet adds to W3CSS Theme

  • Header: three parts: menu button, branding, search button. The header stays at the top of the window while the page scrolls.
  • Primary Menu Vertical: the menu button opens this region as a side panel at least 300 pixels wide. The button appears only when the region holds a block. The default blocks put the main menu and the account menu here.
  • Fixed Search Bar: a new region. The search button opens its blocks in a panel that slides down from the top. Opening it moves focus into the search field and closes the side menu; the close button, the Escape key or a click outside closes it and returns focus. While closed, the panel is inert, so keyboard focus cannot reach it.
  • Primary Menu: still available. A menu placed there shows as the base theme bar above the header. None is placed by default.
  • Footer: the footer regions show on the front page only. The bottom regions, the footer menu and the copyright line show on every page, inside one footer.
  • Defaults: the credit link is off and the copyright text is "Copyright %year% - All Rights Reserved".
  • Default blocks: the theme installs 13 optional block placements, including the main and account menus in "Primary Menu Vertical", search in "Fixed Search Bar" and branding in "Header".
  • Motion: with "prefers-reduced-motion: reduce" set, the theme removes its transitions.
  • CSS layers: the Amunet rules sit in the w3css.subtheme layer, so they override the base theme without extra specificity. A deprecated alias keeps the 2.x script name amunetThemeBehavior working; the current name is amunetSearchSlide.
  • Starter sub-theme: "Amunet Sub-theme" (amunet_subtheme) is an empty sub-theme of Amunet. Copy and rename it to start your own.

Color schemes, regions and layouts that differ

Amunet adds the region "Fixed Search Bar" to the 22 regions of W3CSS Theme. Its default color scheme is "Indigo Lagoon", with white header text. The contrast fixes in Amunet apply only while that scheme is active. Layout choices are inherited unchanged.

What it inherits from W3CSS Theme

W3CSS Theme supplies the settings form, the color schemes and every region except "Fixed Search Bar". See the W3CSS Theme project page for those.

Installation: get started in 3 steps

  1. Install the sub-theme with Composer. It requires the base theme and pulls it in:
    composer require drupal/amunet
  2. Open Appearance. Make sure W3CSS Theme is installed, then select "Install and set as default" for Amunet.
  3. Open the theme settings at Appearance → Settings → Amunet. It is the W3CSS Theme settings form: pick a color scheme under "Predefined Color Themes". Amunet starts with "Indigo Lagoon".

Requirements

  • Drupal 11.3 or later, including Drupal 12
  • W3CSS Theme 3.0 or later

Support and maintenance

Questions, ideas, and bug reports are welcome. Please use this project’s issue queue so discussions and solutions remain available to the Drupal community.

Maintainers monitor issues, but response times depend on availability.

Flash Web Center, LLC. Drupal sites, themes and modules. Built and maintained by Alaa Haddad.

Developed and maintained by Alaa Haddad of Flash Web Center, LLC.

AI disclosure: AI tools assisted with drafting and reviewing this project description. The maintainer verified the final content against the project source.

Supporting organizations: 
Drupal development
Drupal hosting and maintenance

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • chart icon25 sites report using this theme
  • Created by flashwebcenter on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases