Drupal 8 Theming - Part 06 - Theming the Header

preview_player
Показать описание
In this episode of Drupal 8 Theming tutorial series we are going to theme our header the 'Drupal way', by using blocks, css, html and Twig.

Also we are going to learn how to define our front page so that we don't use the same template as we would use on other content types. This way our front page will be able to have different type of design.

As for the header we are going to style a block that displays the header, add some css to it and I will show you how to change the path of your logo.

By doing all of this we will get better acquainted with Twigs template hints, and will learn where the stuff on our page is coming from.

Code used in this tutorial:

Рекомендации по теме