Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Rebuild the header markup

Override pagelayout/header.tpl (and its parts) in your design extension; the shared layout keeps placing it.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/build-two-ways/examples/redesign/new-header-markup.md

On this page

Rebuild the header markup

A new header with the logo centered and the search as a full-width bar.

Life cycle: Redesign, example 3 of 34. Worked out on the Fit & Healthy site of Exponential 6.0.15+.

Contents

  1. In the Layouts editor
  2. With templates
  3. Which to choose
  4. Check

In the Layouts editor

No layout change: the header template block of Header / Footer includes pagelayout/header.tpl (How the header is built).

With templates

  1. Copy extension/sevenx_themes_media/design/media/templates/pagelayout/header.tpl to extension/mysite/design/media/templates/pagelayout/header.tpl.
  2. Rearrange the includes (content/parts/site_logo.tpl, pagelayout/header/main_menu.tpl, search_box.tpl, user_menu.tpl, language_selector.tpl) or write new markup; keep the menu include unless the menu changes too.
  3. Clear Template & content and check a page that uses it.

Which to choose

The header is design: templates.

Check

  • Every page, with and without a layout, shows the new header.

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x