- ๐ฎ๐ณIndia Harish1688 India
Hi @hopfrog โ , you have to follow this steps for adding a reason.
Step 1: Define the region in subtheme -> themename.info.yml file.
regions:
header: 'Header'
sidebar: 'sidebar left'Step 2: Adding Regions to Your Templates file like - page.html.twig (if you not find the template file in sub-theme just debug (settings.php -- debug:true;) to check which core theme in rendering on the browser and copy the twig file from there and paste it in your sub-theme template folder )
{{ page.header }}
For information check drupal documentation : https://www.drupal.org/docs/theming-drupal/adding-regions-to-a-theme โ
- First commit to issue fork.
- ๐ฎ๐ณIndia priyanshu9311858
priyanshu9311858 โ changed the visibility of the branch 3276379-add-new-region to hidden.
- Status changed to Closed: works as designed
8 months ago 11:15pm 13 April 2024