From the course: Drupal 9 Essential Training: 5 Layout

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Managing the layout for the business directory

Managing the layout for the business directory - Drupal Tutorial

From the course: Drupal 9 Essential Training: 5 Layout

Start my 1-month free trial

Managing the layout for the business directory

- [Instructor] Let's go ahead and update the layout for our business directory. Go to structure, content types, business directory, and manage display. Now you remember we have a default and a teaser mode. Let's go ahead and add the full content display again. Click save. And now we have default full and teaser. Let's go ahead and update the full content display, and go ahead and click use layout builder. This time we won't allow an editor to update a node on the fly. Every business is going to look exactly the same. Click save. And click manage layout. Now once again, layout builder puts all of the fields into one section, and we can add sections above and sections below, and any blocks we want. In this layout, I want to put the business logo on the left, the address, website, phone and category on the right. Then I want to put the description in the rest of the fields. So, once again, click add section, and let's…

Contents