Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Amun - W3CSS Sub-Theme

Security covered Maintenance fixes only 167 sites

Amun is a sub-theme that adds a sticky main menu, user menu, and search icon to the top of the page, with the header positioned directly below.

Amun is a sub-theme of W3CSS Theme. It puts a sticky navigation bar above the header. The bar holds the main menu, the account menu and a search button.

Choose it when you want the menus and search in one bar at the top of every page, with no sub-theme work of your own.

Start here

See it working

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

What Amun adds to W3CSS Theme

  • Navigation bar: the main menu sits at the left and the account menu at the far end, above the header. A search button and, when "Primary Menu Vertical" holds a block, a side-menu button sit in the same bar.
  • Fixed Search Bar: a new region. Its blocks appear in a panel that slides down from the top. The panel is printed only when both "Fixed Search Bar" and "Primary Menu" hold blocks. Opening it moves focus into the search field; 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.
  • Small screens: below about 992 pixels the bar shows one toggle button that opens the main and account menus one under the other.
  • 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".
  • Header: the site branding is centered in the "Header" region.
  • Default blocks: the theme installs 13 optional block placements, including the main and account menus in "Primary Menu", search in "Fixed Search Bar" and branding in "Header".
  • Motion and focus: with "prefers-reduced-motion: reduce" set, the theme removes its transitions. It also ships a keyboard focus outline.
  • CSS layers: the Amun 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 amunThemeBehavior working; the current name is amunSearchSlide.
  • Starter sub-theme: "Amun Sub-theme" (amun_subtheme) is an empty sub-theme of Amun. Copy and rename it to start your own.

Color schemes, regions and layouts that differ

Amun adds the region "Fixed Search Bar" to the 22 regions of W3CSS Theme. Its default color scheme is "Midnight Ember". The contrast fixes in Amun 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/amun
  2. Open Appearance. Make sure W3CSS Theme is installed, then select "Install and set as default" for Amun.
  3. Open the theme settings at Appearance → Settings → Amun. It is the W3CSS Theme settings form: pick a color scheme under "Predefined Color Themes". Amun starts with "Midnight Ember".

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.

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.

Drupal 9–11

Ask your assistant about Amun - W3CSS Sub-Theme

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
9
Tracked since
Jan 2023
Latest release
3 weeks ago
Releases (12 mo)
3 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.0.x-dev Dev 11 Nov 5, 2026
2.0.12 Stable 9–11 Oct 7, 2026
2.0.11 Stable 9–11 Oct 5, 2026
2.0.10 Stable 9–11 Oct 5, 2025
2.0.9 Stable 9–11 Jan 20, 2025
2.0.8 Stable 9–11 Aug 4, 2024
2.0.7 Stable 8–10 Feb 4, 2024
2.0.6 Stable 8–10 Sep 3, 2023
2.0.5 Stable 8–10 Jan 28, 2023