O'Reilly logo

Drupal 8 for Absolute Beginners by James Barnett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required