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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.