How Can We Help?
< All Topics
Print

Positioning a Block in a Region in Drupal: Step-by-Step Guide

a) How do I place a block in an area in Drupal ?

1. First, go to Structure and select Block Layout from the Manage administrative menu (Admin/Structure/Blocks), which will display the theme’s areas.

2. After that, the core Bartik theme should be selected in the secondary tab, and block placement is determined by the theme.

3. Then, locate the second area sidebar in the list and click on the place block next to it to access all blocks.

4. Next, locate the “Opening Hours and Locationsblock, click “Place Block” next to it, and fill in the necessary fields to create a configuration block.

Field name Explanation Example value
Title The block title is displayed Hours and location
Display title Whether to display the title alongside the block or not Checked
Region Which theme area to display it in
Sidebar second

Note: The Farmers Market website doesn’t require any configuration options to display the block everywhere, as it can be hidden or shown on specific pages.

drupal

5. Then, click on the Save block to open the block layout page, where you can adjust the order of the blocks.

6. Finally, ensure that the Opening Hours and Locations block is listed in the second area of the sidebar to save a block.

Note: The block is positioned on the sidebar of all pages using the core Bartik theme.

drupal

Table of Contents