Headers & navigation · Design 01
Classic with contact bar
The standard MHOW header: an ink contact bar with email, phone and social links on large screens, logo left, links centred and donate actions right, with a full-width drop-down menu on mobile. Add sticky top-0 to keep it in view.
Menu
<header class="border-b border-line bg-white">
<div class="hidden bg-ink text-white lg:block">
<div class="mx-auto w-full max-w-content px-5 sm:px-8 flex h-10 items-center justify-between font-display text-[13px]">
<div class="flex items-center gap-7">
<a href="mailto:info@mhow.org" class="inline-flex items-center gap-2 text-white/85 transition-colors hover:text-white"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="text-brand"><path d="M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-96,85.15L52.57,64H203.43ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z"></path></svg>info@mhow.org</a>
<a href="tel:+442071772253" class="inline-flex items-center gap-2 text-white/85 transition-colors hover:text-white"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="text-brand"><path d="M222.37,158.46l-47.11-21.11-.13-.06a16,16,0,0,0-15.17,1.4,8.12,8.12,0,0,0-.75.56L134.87,160c-15.42-7.49-31.34-23.29-38.83-38.51l20.78-24.71c.2-.25.39-.5.57-.77a16,16,0,0,0,1.32-15.06l0-.12L97.54,33.64a16,16,0,0,0-16.62-9.52A56.26,56.26,0,0,0,32,80c0,79.4,64.6,144,144,144a56.26,56.26,0,0,0,55.88-48.92A16,16,0,0,0,222.37,158.46ZM176,208A128.14,128.14,0,0,1,48,80,40.2,40.2,0,0,1,82.87,40a.61.61,0,0,0,0,.12l21,47L83.2,111.86a6.13,6.13,0,0,0-.57.77,16,16,0,0,0-1,15.7c9.06,18.53,27.73,37.06,46.46,46.11a16,16,0,0,0,15.75-1.14,8.44,8.44,0,0,0,.74-.56L168.89,152l47,21.05h0s.08,0,.11,0A40.21,40.21,0,0,1,176,208Z"></path></svg>020 7177 2253</a>
</div>
<div class="flex items-center gap-5">
<p class="text-white/85">UK charity based in <span class="font-semibold text-white">Bolton</span>, open to everyone</p>
<ul aria-label="Social media" class="flex items-center gap-3.5 border-l border-white/20 pl-5"><li><a href="https://www.facebook.com/HouseofWisdomOfficialCharity/" target="_blank" rel="noopener" aria-label="MHOW on Facebook (opens in a new tab)" class="block text-white/80 transition-colors hover:text-brand"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" class="size-4"><path d="M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z"/></svg></a></li><li><a href="https://www.instagram.com/houseofwisdomcharity" target="_blank" rel="noopener" aria-label="MHOW on Instagram (opens in a new tab)" class="block text-white/80 transition-colors hover:text-brand"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" class="size-4"><rect x="3" y="3" width="18" height="18" rx="5" fill="none" stroke="currentColor" stroke-width="2"/><circle cx="12" cy="12" r="4" fill="none" stroke="currentColor" stroke-width="2"/><circle cx="17.5" cy="6.5" r="1.1"/></svg></a></li><li><a href="https://www.youtube.com/channel/UCZA0A700jaCVLDk_pGss_8Q" target="_blank" rel="noopener" aria-label="MHOW on YouTube (opens in a new tab)" class="block text-white/80 transition-colors hover:text-brand"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" class="size-4"><path d="M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31 31 0 0 0 0 12a31 31 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31 31 0 0 0 24 12a31 31 0 0 0-.5-5.8ZM9.6 15.6V8.4l6.3 3.6Z"/></svg></a></li><li><a href="https://www.tiktok.com/@houseofwisdom.official" target="_blank" rel="noopener" aria-label="MHOW on TikTok (opens in a new tab)" class="block text-white/80 transition-colors hover:text-brand"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" class="size-4"><path d="M16.6 2h-3.4v13.4a2.9 2.9 0 1 1-2.9-2.9c.3 0 .6 0 .9.1V9.1a6.3 6.3 0 1 0 5.4 6.3V8.6a8.2 8.2 0 0 0 4.8 1.5V6.7a4.8 4.8 0 0 1-4.8-4.7Z"/></svg></a></li><li><a href="https://wa.me/447351562341" target="_blank" rel="noopener" aria-label="MHOW on WhatsApp (opens in a new tab)" class="block text-white/80 transition-colors hover:text-brand"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" class="size-4"><path d="M12 2.2a9.8 9.8 0 0 0-8.4 14.8L2.2 21.8l4.9-1.3A9.8 9.8 0 1 0 12 2.2Z" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linejoin="round"/><path d="M8.7 7.1c.2-.3.5-.4.8-.4h.6c.2 0 .4.1.5.4l.8 1.9c.1.2 0 .5-.1.7l-.6.7c-.1.2-.1.4 0 .6.6 1 1.4 1.8 2.4 2.4.2.1.4.1.6 0l.7-.6c.2-.2.5-.2.7-.1l1.9.8c.3.1.4.3.4.5v.6c0 .3-.1.6-.4.8-.5.4-1.2.6-1.9.5-1.6-.2-3.1-1-4.5-2.4S8.4 10.6 8.2 9c-.1-.7.1-1.4.5-1.9Z"/></svg></a></li></ul>
</div>
</div>
</div>
<div class="relative">
<div class="mx-auto w-full max-w-content px-5 sm:px-8 flex h-16 items-center justify-between gap-3 lg:h-[72px]">
<div class="lg:flex-1">
<a class="inline-flex items-center gap-2.5 rounded-sm" aria-label="MHOW home" href="index.html"><img src="images/mhow/logo-dark.webp" alt="MHOW – Muhammadiyah House of Wisdom" width="480" height="190" class="h-10 w-auto sm:h-11 lg:h-10 xl:h-12"></a>
</div>
<nav aria-label="Header 1 navigation" class="hidden lg:block">
<ul class="flex items-center gap-7 xl:gap-9">
<li><a class="t-label rounded-sm py-2 text-ink transition-colors hover:text-water" href="about.html">About us</a></li>
<li><a class="t-label rounded-sm py-2 text-ink transition-colors hover:text-water" href="causes.html">Projects</a></li>
<li><a class="t-label rounded-sm py-2 text-ink transition-colors hover:text-water" href="events.html">Events</a></li>
<li><a class="t-label rounded-sm py-2 text-ink transition-colors hover:text-water" href="get-involved.html">Volunteer</a></li>
<li><a class="t-label rounded-sm py-2 text-ink transition-colors hover:text-water" href="contact.html">Contact</a></li>
</ul>
</nav>
<div class="flex items-center justify-end gap-5 pr-14 lg:flex-1 lg:pr-0">
<a class="t-label hidden rounded-sm py-2 text-ink transition-colors hover:text-water xl:inline-block" href="hijrah-walk.html">Hijrah Walk 2027</a>
<a class="inline-flex items-center justify-center gap-2 rounded-sm font-display font-semibold leading-none whitespace-nowrap transition-[background-color,border-color,transform] duration-150 active:translate-y-px bg-marigold text-white hover:bg-marigold-deep h-10 px-4 text-[15px]" href="donate.html"><span class="sm:hidden">Donate</span><span class="hidden sm:inline">Donate now</span></a>
</div>
</div>
<details class="group/m lg:hidden">
<summary class="absolute right-5 top-2.5 grid size-11 place-items-center rounded-md border border-line-strong text-ink sm:right-8 cursor-pointer list-none [&::-webkit-details-marker]:hidden"><span class="sr-only">Menu</span><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="group-open/m:hidden"><path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="hidden group-open/m:block"><path d="M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"></path></svg></summary>
<nav aria-label="Header 1 mobile navigation" class="border-t border-line">
<div class="mx-auto w-full max-w-content px-5 sm:px-8 pb-8">
<ul class="divide-y divide-line border-b border-line">
<li><a class="flex items-center justify-between py-4 font-display text-[20px] font-semibold text-ink hover:text-water" href="about.html">About us<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="text-line-strong"><path d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"></path></svg></a></li>
<li><a class="flex items-center justify-between py-4 font-display text-[20px] font-semibold text-ink hover:text-water" href="causes.html">Projects<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="text-line-strong"><path d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"></path></svg></a></li>
<li><a class="flex items-center justify-between py-4 font-display text-[20px] font-semibold text-ink hover:text-water" href="events.html">Events<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="text-line-strong"><path d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"></path></svg></a></li>
<li><a class="flex items-center justify-between py-4 font-display text-[20px] font-semibold text-ink hover:text-water" href="get-involved.html">Volunteer<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="text-line-strong"><path d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"></path></svg></a></li>
<li><a class="flex items-center justify-between py-4 font-display text-[20px] font-semibold text-ink hover:text-water" href="contact.html">Contact<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="text-line-strong"><path d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"></path></svg></a></li>
<li><a class="flex items-center justify-between py-4 font-display text-[20px] font-semibold text-ink hover:text-water" href="hijrah-walk.html">Hijrah Walk 2027<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="text-line-strong"><path d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"></path></svg></a></li>
</ul>
<div class="mt-6 grid gap-3 sm:grid-cols-2">
<a class="inline-flex items-center justify-center gap-2 rounded-sm font-display font-semibold leading-none whitespace-nowrap transition-[background-color,border-color,transform] duration-150 active:translate-y-px bg-marigold text-white hover:bg-marigold-deep h-12 px-6 text-base" href="donate.html">Donate now</a>
<a class="inline-flex items-center justify-center gap-2 rounded-sm font-display font-semibold leading-none whitespace-nowrap transition-[background-color,border-color,transform] duration-150 active:translate-y-px border border-ink text-ink hover:bg-smoke h-12 px-6 text-base" href="donate.html?frequency=monthly">Give monthly</a>
</div>
<div class="mt-6 grid gap-2 font-display text-[15px] sm:flex sm:flex-wrap sm:gap-6">
<a href="mailto:info@mhow.org" class="inline-flex items-center gap-2 text-ink hover:text-water"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="text-water"><path d="M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-96,85.15L52.57,64H203.43ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z"></path></svg>info@mhow.org</a>
<a href="tel:+442071772253" class="inline-flex items-center gap-2 text-ink hover:text-water"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="text-water"><path d="M222.37,158.46l-47.11-21.11-.13-.06a16,16,0,0,0-15.17,1.4,8.12,8.12,0,0,0-.75.56L134.87,160c-15.42-7.49-31.34-23.29-38.83-38.51l20.78-24.71c.2-.25.39-.5.57-.77a16,16,0,0,0,1.32-15.06l0-.12L97.54,33.64a16,16,0,0,0-16.62-9.52A56.26,56.26,0,0,0,32,80c0,79.4,64.6,144,144,144a56.26,56.26,0,0,0,55.88-48.92A16,16,0,0,0,222.37,158.46ZM176,208A128.14,128.14,0,0,1,48,80,40.2,40.2,0,0,1,82.87,40a.61.61,0,0,0,0,.12l21,47L83.2,111.86a6.13,6.13,0,0,0-.57.77,16,16,0,0,0-1,15.7c9.06,18.53,27.73,37.06,46.46,46.11a16,16,0,0,0,15.75-1.14,8.44,8.44,0,0,0,.74-.56L168.89,152l47,21.05h0s.08,0,.11,0A40.21,40.21,0,0,1,176,208Z"></path></svg>020 7177 2253</a>
<a href="https://wa.me/447351562341" target="_blank" rel="noopener" class="inline-flex items-center gap-2 text-ink hover:text-water"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="text-water"><path d="M187.58,144.84l-32-16a8,8,0,0,0-8,.5l-14.69,9.8a40.55,40.55,0,0,1-16-16l9.8-14.69a8,8,0,0,0,.5-8l-16-32A8,8,0,0,0,104,64a40,40,0,0,0-40,40,88.1,88.1,0,0,0,88,88,40,40,0,0,0,40-40A8,8,0,0,0,187.58,144.84ZM152,176a72.08,72.08,0,0,1-72-72A24,24,0,0,1,99.29,80.46l11.48,23L101,118a8,8,0,0,0-.73,7.51,56.47,56.47,0,0,0,30.15,30.15A8,8,0,0,0,138,155l14.61-9.74,23,11.48A24,24,0,0,1,152,176ZM128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-6.54-.67L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Z"></path></svg>WhatsApp +44 7351 562341</a>
</div>
<p class="t-caption mt-4 text-slate">Based in Bolton, UK. Open to everyone.</p>
</div>
</nav>
</details>
</div>
</header>
