Engine Framework
Page layout
Arrange rows, columns, module positions and sidebars under the header with the Engine Framework layout editor, and switch the title band on or off.
The Layout group of the options panel decides what sits between the header and the footer: rows of columns, each column showing a module position or the main content.
In names like ET Theme, Theme stands for your template's name. For the Ganews template, ET Theme is ET Ganews.
"Rows go under the header. Drag rows to reorder, set column widths out of 12, and give each column a module position. Empty columns are skipped and the main content takes the space."
How the layout works
- A row is a band across the page. It has a width, a background and spacing.
- A row has one or more columns. Widths are counted out of 12, so
3 + 6 + 3is a left sidebar, the content and a right sidebar. - A column shows either the modules of a module position or the main content: "Articles, categories and every other page."
- Exactly one column holds the main content.
When a column's position has no modules on a page, the column is skipped. Its width goes to the main content column in that row, or is shared by the other columns. A row with nothing to show is left out. So a page without sidebar modules shows the content at full width, without any setting.
The default layout
The Engine template starts with five rows:
| Row | Columns |
|---|---|
| Hero | Full width, position hero |
| Top | top-a, top-b, top-c (4 + 4 + 4) |
| Main | sidebar-left (3), main content (6), sidebar-right (3) |
| Bottom | bottom-a, bottom-b, bottom-c on a soft background |
| Call to action | cta on the primary colour |
Theme styles from Engine Templates (ET Theme) use a single Main row with the main content at 12, because their pages are built in Engine Builder.
Edit rows
- Add row adds a new row at the bottom.
- Drag a row by its handle to move it.
- Duplicate row copies a row (without the main content).
- Delete row removes it. A row that holds the main content cannot be deleted: "Move the main content to another row first, or delete its other columns."
Click a row to see Row settings:
| Setting | Choices |
|---|---|
| Width | Content width, Narrow (reading width), Full width |
| Background | Plain, Soft background, Tinted, Dark, Primary colour |
| Spacing | None, Small, Medium, Large |
| CSS class | Your own class for custom CSS |
| Hide on phones | Hides the row on small screens |
| Columns | Quick splits: 12, 6 + 6, 4 + 4 + 4, 3 + 3 + 3 + 3, 8 + 4, 4 + 8, 3 + 6 + 3, 9 + 3, 3 + 9 |
Dark uses the Headings and text colour as the background and Primary colour the Primary colour, both with white text. Soft background uses the Soft background colour.
Edit columns
Click a column to edit it:
- Width: 1/12 to 12/12, for example 4/12 (third) or 8/12 (two thirds). The row shows the total, which should add up to 12.
- Module position: type a position name, for example
sidebar-right. You can use the template's positions or a new name. - CSS class: your own class.
- Move left and Move right change the order.
- Delete column removes it (not possible on the main content column).
- Show the main content here moves the main content to this column.
Module positions
Publish modules in these positions in Content > Site Modules:
| Position | Where it shows |
|---|---|
topbar | In the top bar, when Show top bar is on |
header | Header, next to the menu |
hero, top-a, top-b, top-c | Rows of the default layout |
breadcrumbs | In the title band, or above articles |
sidebar-left, sidebar-right | Sidebars of the Main row |
main-top, main-bottom | Above and below the main content, inside its column |
bottom-a, bottom-b, bottom-c, cta | Rows of the default layout |
footer-1 to footer-4, footer-bottom | Template footer |
offcanvas | Mobile menu |
error-403, error-404 | Error pages |
Engine Builder pages
Pages made in Engine Builder bring their own sections. On those pages, the row that holds the main content is shown edge to edge, without sidebars, and there is no title band. The same goes for articles and category blogs shown with an Engine Builder layout. Other rows still show.
Page title
Title band on inner pages "Shows the menu item title above the content, except on the home page." It is on by default for the Engine template and off on ET Theme theme styles. Modules in breadcrumbs show inside the band. On a single article, only the breadcrumbs bar shows, because the article has its own title.
Engine Blank and the layout
When you switch Style > Starting point to Engine Blank, the module rows are removed, leaving one Main row with the main content and the two sidebar positions, and the title band is switched off. Switching back to Classic puts back the template's default rows. See Engine Framework.