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
In the Layouts editor
- Titles with the view
section_centered(the Prefooter's) change everywhere.
With templates
- Copy
extension/sevenx_themes_media/design/media/templates/explayouts/block/title/section_centered.tpltoextension/mysite/design/media/templates/explayouts/block/title/section_centered.tpl. - Change the heading markup (keep the tag from
$block.parameters.tag). - 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.
Related pages
- How a block maps to its templates
- Redesign examples, every page
- 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.