Use layouts and page sections

Layouts icon

On this page: 


In Berkeley Web Builder, certain content types (Custom and feature-specific types) allow users to create pages with structured content; this refers to a website page with multiple content widgets, organized in page sections and displayed using layouts (varying combinations of rows and columns). 

In the "Customize" tab on Custom pages and other content types, there is a user interface with options to add/remove page sections, and within the page sections, there are options to utilize both Custom layouts and Templated layouts for displaying widgets. Multiple sections can be added to pages as needed to align and display content widgets.

Page sections

Custom pages (and other content types) have a "Customize" tab where there is a user interface for adding, configuring, and removing individual page sections. A page section is a horizontal region on a page, and these page sections can use either Custom (multiple-column layouts with varying widths) or Templated (multiple-column layouts with content that spans rows or columns) layouts to display content widgets. 

See Figures 1 and 2, below, of a Berkeley Web Builder starter site homepage with a 2-column layout and a "Customize" tab, and the homepage customization user interface with a single page section using a Custom 2-column layout.

Figure 1: Berkeley Web Builder starter site homepage (Custom page) with a page section using a 2-column layout
Screenshot of a Berkeley Web Builder starter site homepage with the Customize tab and 2-column layout highlighted
Figure 2: Page customization interface with 1 page section using a 2-column layout and options to add more sections
Screenshot of the page customization interface with the page section elements highlighted

Back to top


Page layouts

Figures 1 and 2, above, highlight a 2-column Custom layout in a page section. Each page section can use either a Custom or Templated layout. Custom layouts are 1, 2, 3, 4, and 5-column layouts that can be selected and changed as needed, and the 2 and 3 column options have variable percentage widths. 

In the "Customize" interface, each page section has a "change layout" button. Select that button to open a modal window which contains the currently-selected layout as well as the other available Custom and Templated layout options. See Figures 3 and 4, below.

Figure 3: Change/view the current layout for a page section
Screenshot of the customize interface with the change layout button highlighted
Figure 4: "Change layout" modal for page section
Screenshot of the change layout modal window with elements highlighted

Back to top


How to select and use Custom layouts

After selecting the "change layout" button and opening the layout modal window (see Figures 3 and 4, above), select the 1-column, 2-column, 3-column, or 4-column layout options. See Figure 5, below.

Figure 5: Custom layout options
Screenshot of the layout modal window with the custom layout section highlighted

Selecting the 2- and 3-column options will bring you to the subsequent "map regions" screen where you can select from different column percentage widths. Selecting the 4-column will also bring you to the "map regions" screen, but there will be no option to change the column widths.

  • 2 columns: 50%/50%, 33%/67%, 67%/33%, 33%/67%, 75%/25%, 25%/75%
  • 3 columns: 25%/50%/25%, 33%/34%/33%, 25%/25%/50%, 50%/25%/25%

Select "Update" after choosing the desired option from the dropdown. See Figure 6, below. 

Figure 6: Select column widths for 1, 2, and 3 column custom layouts
Screenshot of the map regions modal screen with the column widths and update options highlighted

After selecting the "Update" button, you will be back in the page customization interface with the updated section layout where you can add, move, configure, and/or remove widgets.

Back to top

Align Promo widgets in Custom layout sections

By default, the color backgrounds in Promo block and Promo with image widgets may not align (i.e., may have different heights) in a page section depending on how much text is in each Promo widget. See Figure 7, below, for an example of 3 color Promo block widgets in a page section that have different heights due to the varying text.

Figure 7: unaligned page section with Promo block widgets (varying text and heights)
Three promo blocks with colors and different amounts of text, the middle promo block is shorter than the others

Promo blocks and Promo with image widgets can be automatically aligned to all have the same heights when they are in the same page section/row. The height of all the Promo widgets in the same section will be set by the widget with the most text. See Figure 8, below, for an example of the above Promo blocks that have been aligned in their page section and are now the same height.

Figure 8: aligned page section with Promo block widgets
Three promo blocks with colors are all the same height with different amounts of text

Once you have added Promo blocks or Promo with image widgets to a page section with a Custom layout, you can configure that page section to align the widgets. Select the pencil icon for the page section containing the Promo widgets, and then select the "Align section" toggle and select "Update"; see Figure 9, below.

Figure 9: page section edit interface with "align section" toggle
Page section configure interface with "align toggle" option on and highlighted

Once the "Align section" toggle has been turned on, the page section header will be yellow in the page customization interface to indicate that the section is aligned. Select the pencil icon for the page section again to turn off the toggle as needed. The page customization interface may not necessarily preview the Promo widgets with their evenly-aligned heights, but the widgets will be aligned in the published view. See Figure 10, below, for an example of a page section with "section align enabled" in the page customization interface.

Figure 10: aligned page section with yellow header in page customization interface
Screenshot of page customization interface with an aligned page section with a yellow header

Important: The Promo widget alignment alignment option is ONLY available on page sections using Custom layouts. If you do not see an "Align section" toggle when editing/configuring a page section, check to see if that page section is using a Templated layout rather than Custom (Templated page sections have a thin purple line at the top and Custom page sections have a green line). 

Back to top


How to select and use Templated layouts

If you would like to have content widgets span rows or columns, use a Templated layout option in a page section. After selecting the "change layout" button and opening the layout modal window (see Figures 3 and 4, above), select one of the Templated layout options; see Figure 11, below.

Figure 11: Templated layout options
Screenshot of the modal layout selection window with the templated layouts highlighted

After selecting a Templated layout, you will be brought to subsequent "map regions" screen. Select "Update" to save your selection, which will bring you back to the page customization interface with the updated section layout where you can add, move, configure, and/or remove widgets. See Figure 12, below.

Figure 12: Page customization interface with custom and templated page sections and regions for placing widgets
Screenshot of the page customization interface with a custom and templated page section

Back to top