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.subthemelayer, so they override the base theme without extra specificity. A deprecated alias keeps the 2.x script nameamunThemeBehaviorworking; the current name isamunSearchSlide. - 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
- Install the sub-theme with Composer. It requires the base theme and pulls it in:
composer require drupal/amun - Open Appearance. Make sure W3CSS Theme is installed, then select "Install and set as default" for Amun.
- 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.
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.167 sites report using this theme
- Created by flashwebcenter on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.



