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

A new look for section titles

The Title block dispatches by view type to explayouts/block/title/<view type>.tpl; override section_centered for the Prefooter style.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/build-two-ways/examples/redesign/override-section-titles.md

On this page

A new look for section titles

Centered section titles get a line on each side.

Life cycle: Redesign, example 2 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

  1. Titles with the view section_centered (the Prefooter's) change everywhere.

With templates

  1. Copy extension/sevenx_themes_media/design/media/templates/explayouts/block/title/section_centered.tpl to extension/mysite/design/media/templates/explayouts/block/title/section_centered.tpl.
  2. Change the heading markup (keep the tag from $block.parameters.tag).
  3. Clear Template & content and check a page that uses it.

Which to choose

Override per view type, so other titles keep their look.

Check

  • The Prefooter title shows the new look; other titles do not.

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