Paragraphs Template Theming

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

Theming

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

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

Settings

General Tab

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

Theming OpenAid

OpenAid 1.0

The OpenAid distro comes with the OpenAid theme, which integrates with the Color module and is responsive out of the box.

To customize the theme for your site's needs, it is suggested that you create a child theme based off of OpenAid.

The theme's settings and color picker are located at /admin/appearance/settings/openaid

Pages

Subscribe with RSS Subscribe to RSS - theming