How can we set the region in drupal theme?
Answer / Anurag Bhardwaj
To set the region in a Drupal theme, you need to define them in your theme's .info.yml or .info files and then create the corresponding template files for each region. In your .info file, list the regions like this: `name: Headerntype: regionnregion_type: headernregion_settings[header]n regions[header][] = main-menunregions[header][] = site-branding`. After defining regions, create template files in your theme's templates folder that correspond to the desired region names.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is drupal free?
What is difference between template and theme?
Drupal can run on command line?
what are drupal distributions and drupal installation profiles and what is the difference between the two?
How can I change the favicon in my drupal site?
List some features of drupal?
What is front end back end development?
Do you keep regular backups?
What is drupal child?
Drupal is flexible at handling events automatically and employing triggers. How do developers make use of these features?
Which drush commands you use while development?
How can I add a new block in drupal?