Per-site designs
This page is for site builders and designers. Each siteaccess names its design in [DesignSettings] SiteDesign, with
AdditionalSiteDesignList[] as fallbacks; templates are found by walking that chain
(Designs and the fallback chain).
Contents
- A shared base, a thin layer per department
- Settings
- What a department layer usually changes
- Consistency and accessibility
A shared base, a thin layer per department
Public bodies often have one identity with department variations. Build one base design that holds the pagelayout, the components and the accessibility work, and a thin design per department that overrides only what differs.
Settings
# settings/siteaccess/dept_example/site.ini.append.php
[DesignSettings]
SiteDesign=dept_example
AdditionalSiteDesignList[]
AdditionalSiteDesignList[]=gov_base
AdditionalSiteDesignList[]=simpleKeep each design in an extension of its own, so it is versioned and deployed with Git (Template overrides).
What a department layer usually changes
- The logo and the name in the header (often content: a shared header can be kept as content, Shared header and footer).
- An accent color, through the design's stylesheet tokens.
- The footer contacts.
- Templates for a class only that department uses.
Consistency and accessibility
- Keep navigation, search and the language switcher in the same place on every site.
- Accessibility work done in the base design applies to every department; overrides must not undo it (contrast of accent colors, focus styles). Test each department site (Testing accessibility).
- The public designs that ship are not audited for accessibility (Accessibility standards).
Related pages
- Branding your site
- Choosing a design or theme
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.