Skip to main content

Article backgrounds

Note

This feature is only available from 0.1 theme version 2.1.0 (Contao 5) or 1.11.0 (Contao 4).

You can change the background and text color of an article with classes.

The following classes are available for the background:

The following classes are available for the text color:

  • text-primary
  • text-secondary
  • text-dark
  • text-gray
  • text-light
  • text-success
  • text-warning
  • text-error

More information: Spectre documentation

Example

Adding the classes in the article settings:

    This is what it would look like in the front end: