CHAPTER 6

image

Adding CSS to Your Drupal Module

By using CSS (Cascading Style Sheets), you have the ability to give your Drupal web pages their own custom look. In this chapter, you will add CSS, which will add color and styling to your Hello World module.

Image Note  The code for this Drupal module is on Github: https://github.com/barnettech/drupal8_book/tree/with_css.

Using CSS Within Your

We’re going to add to the hello_world basic module you created earlier by adding some color and styling to the page with CSS. We’ll be adding some CSS to add a background ...

Get Drupal 8 for Absolute Beginners now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.