Very new Drupal user and I'm building a theme for my site on Drupal 8, I've setup everything, the site works locally. Now I would like to know how do I make my regions look like the schema (see Image). What files do I edit and which values to add, edit.
Edit: The theme is under construction, so now it has only 4 files: .info.yml, .libraries.yml, styles.css and page.html.twig.
Below their contents: page.html.twig:
<div id="page">
{% if page.headline %}
<section id="headline">
<div class= "container">
{{ page.headline }}
</div>
</section>
{% endif %}
<header id="header">
<div class="container">
{{ page.header }}
</div>
</header>
{% if page.navigation %}
<navigation id="navigation">
<div class="container">
{{page.navigation}}
</div>
</navigation>
{%endif%}
<section id="main">
<div class="container">
<div class="row">
<div id="content" class="col-md-9 col-sm-9 col-xs-12">
{{ page.content }}
</div>
{% if page.sidebar %}
<aside id="sidebar" class="sidebar col-md-3 col-sm-3 col-xs-12">
{{ page.sidebar}}
</aside>
{% endif %}
</div>
</div>
</section>
{% if page.footer %}
<footer id="footer">
<div class="container">
{{ page.footer }}
</div>
</footer>
{% endif %}
</div>
mytheme.info.yml:
name: MyTheme
type: theme
base theme: classy
Description: "Theme moderne et responsif pour Drupal 8"
package: custom
core: 8.x
regions:
headline: headline
header: header
navigation: navigation
content: content
sidebar: sidebar
footer: Footer
style.css :
global-styling: css: theme: includes/bootstrap/css/bootstrap.css: {} css/style.css: {}
The .libraries.yml file has nothing yet.