- Added on: v4.3.0 (12/10/18)
Single page form layout
These templates show the structure of the main template pages within the Framework, in this case a single page form page.
Design and usage
Page structure generic rules
- All content (blue boxes) are shown as a guide and not to be used in final designs
- A section is defined as a block of content containing any number of Framework components (with the exception of the global masthead and footer)
- Sections with background accent colours must not sit one after the other; there should always be another section coloured white or grey in between
- Do not nest sections within sections
Single page form layout specifics
Follows the same rules as the 66/33 right-hand sidebar layout:
Desktop:
- Padding above section is 80px
- No padding below section
- Padding below last section on page is always 60px
- Main content can span up to 8 columns
- RHS content spans 4 columns
- RHS is horizontally aligned with the top of the first section (if a page title is used, the RHS is aligned with whatever content sits underneath it
- If the RHS is longer than the main content, the 60px bottom padding rule applies to the RHS
Tablet / Mobile:
- Padding above section is 60px
- No padding below section
- Padding below last section on page is always 40px
- Section content can span 8 columns on tablet and 4 columns on mobile (full width)
- RHS content spans 8 columns on tablet and 4 columns on mobile (full width)
- RHS content stacks underneath the rest of the page content (in the same vertical order)
Interactive examples
Single page form layout
Static examples at all breakpoints are shown below, and a working example can be seen on the single page form layout example page.
Code examples
Single page form layout
Development and test
Notes for developers
The code example below shows how to set up the basic elements within a page. They are not prescriptive, as the page can contain as many sections or other elements as required, but this can be achieved easily by duplicating the required code blocks and inserting elements when required.
Documentation for other helpful modules/organisms when seting up your page may include: