Building a theme with FortyTwo

The FortyTwo theme is designed to be extended by a sub-theme. You shouldn't modify any of the CSS or PHP files in the fortytwo/ folder. Instead, create a sub-theme located outside of the root fortytwo/ folder.

We tried to make the base theme as clean and simple as possible. There is styling for basic input fields and buttons.

Paragraphs Template Theming (Drupal 7)

Documentation below pertains to overwriting Paragraphs entity display using the theme template override. Be sure you're familiar with template tpl.php overwriting in your (sub-)theme before continuing.

Template Overrides

The default paragraphs template is located at paragraphs-item.tpl.php.

It uses theme suggestions for overwriting the template. The following suggestions are available:

Theming in Paragraphs for Drupal 8


The default paragraphs template is in paragraph.html.twig.
It uses theme suggestions for other templates, the following suggestions are available:

  1. paragraph__[view_mode] (e.g. paragraph--default.html.twig)
  2. paragraph__[type] (e.g. paragraph--image.html.twig)
  3. paragraph__[type]__[view_mode] (e.g. paragraph--image--default.html.twig)

ThemeKey Recipes

This should be a listing of "typical" recipes for ThemeKey setup. This could include Mobile, Admin Theming, and basic recommendations.


Themekey is a powerful theme switching system. You can create all kinds of recipes to

  • Install
  • Mobile Detect
  • Properties
  • Operators
  • Configure
  • Theme Switching Chain
  • Redirecting Rule Chain


General Tab

These are some general settings for how rules interact with cache, authenticated, and anonymous users.


Subscribe with RSS Subscribe to RSS - theming