1. Component Guide
  2. Layout super navigation header
  3. With custom logo link
Layout super navigation header example

With custom logo link

The header logo links to root by default. This option allows us to override that in certain instances.

Remember to update the title, as the default is “Go to the GOV.UK homepage”.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/layout_super_navigation_header", {
  logo_link: "https://www.example.com",
  logo_link_title: "Go to example"
} %>