Skip to main content
Drupal Documentation for SCLS

Main navigation

  • Home
  • How-To Info for Library Staff
  • Drupal 10
  • Help

Breadcrumb

  1. Home
  2. Drupal 10
  3. Layout Builder

Building Layouts Using the Layout Builder UI

If content allows overriding the default layout, a Layout tab will be available near the Edit tab.

Image

When the Layout Builder UI is first accessed, the Page Layout will default to displaying the Body field as it would be displayed without Layout Builder enabled. You may choose to remove the defaults and begin with an empty layout, or keep them in place.

Adding Sections

When working with an empty layout, the first step is to add a Section. Sections form rows within your layout and are the top-level building blocks of Page Layouts. They’re added by clicking “Add Section.”

After clicking “Add Section”, you select a layout for the section. Layout Builder comes with four Section Layouts: One Column, Two Column, Three Column, and Four Column.

Image

Some Section Layouts have additional configuration options that must be selected before they are added to a Section. For example, for the Two Column, you must choose the column widths before it is added to the Section. (These widths can be changed later as needed.)

Image

Adding Content (Blocks)

Once a section is added, it’s time to add content to your layout. Each column (or region) has an “Add Block” link. Clicking “Add Block” opens a dialog where you can choose the content to add.

Creating custom blocks

Image
  1. "Create custom block" is the most common choice for library websites. Clicking "Create Custom Block" allows you to create a custom block that is only available to the Layout - not visible in Block UI. Clicking this will open the configuration for a new block. (If your site has more than Block type, it will first take you to a second form: "Add new inline block," where you can choose any of your sites' custom Block types, before you can configure the block.)
  2. Each Block type will have the following fields:
    1. Title
    2. Display Title checkbox
    3. Additional fields for custom Block types:
      1. Body (common)
    4. Style (optional; may not be present for all sites)
       

      Image
  3. Once complete, click the "Add Block" to add the new block to your layout.
  4. If a block doesn't display within the content preview immediately after you add it, saving the layout may make it appear (see below).

Adding other blocks

Below the "Create custom block" option, there is a list of other blocks that can be selected to appear in this layout. These include all blocks available in the Block UI as well as other entities on your site. Most of these are not typically appropriate or recommended to add to your page; however, you may find it useful to add blocks from the following groups:

  • Custom (blocks created specifically for your site, often appearing in the header/sidebars/footer)
  • Lists (Views) (blocks that produce automated lists of content, such as Slideshow or Upcoming Events)

Save

After customizing your layout, click Save layout.

Image

Adapted from Drupal.org: Building Layouts Using the Layout Builder UI

Book traversal links for Building Layouts Using the Layout Builder UI

  • Layout Builder
  • Up
  • Editing Layouts Using the Layout Builder UI
  • Content
  • Layout Builder
    • Building Layouts Using the Layout Builder UI
    • Editing Layouts Using the Layout Builder UI
  • Managing Media & Files
  • Media Library
  • Revisions
  • Webforms
  • Webinars

Tags

accordion (1)
account (2)
anchors (1)
blocks (0)
cache (1)
carousel (2)
CKEditor (5)
configuration (1)
content types (1)
CSS (1)
disable rich-text (1)
Drupal 10 (15)
Drupal 9 (16)
email (2)
embed code (1)
Entity Registration (5)
events (6)
file browser (1)
files (4)
files media (1)
folders (1)
formatting (2)
front page (3)
Google Analytics (1)
headings (2)
HTML (1)
iframe (2)
images (4)
imce (1)
Layout Builder (3)
link a pdf (1)
links (5)
login (1)
media (2)
menus (3)
nodes (1)
openid (1)
paste as plain text (1)
paths (4)
performance (1)
photo albums (1)
photo galleries (1)
redirects (3)
registration (5)
remove format (1)
repeat dates (2)
reports (1)
revisions (1)
sidebars (0)
site name (1)
slogan (1)
source (1)
sticky (2)
text formats (1)
themes (1)
toolbar (2)
URL aliases (4)
Webform (2)
widget (1)