Extra Block Types (EBT) - New Layout Builder experience❗

Extra Block Types (EBT) - styled, customizable block types: Slideshows, Tabs, Cards, Accordions and many others. Built-in settings for background, DOM Box, javascript plugins. Experience the future of layout building today.

Demo EBT modules Download EBT modules

❗Extra Paragraph Types (EPT) - New Paragraphs experience

Extra Paragraph Types (EPT) - analogical paragraph based set of modules.

Demo EPT modules Download EPT modules

Scroll

Subtheme: Using Classy as a Base Theme

13/04/2025, by Ivan

Classy is a core theme in Drupal 8 and the base theme used by Bartik and Seven. The HTML markup found in Classy (and its subthemes) includes CSS classes structured similarly to the BEM and SMACSS naming conventions.

Although the BEM/SMACSS-style naming conventions developed in Classy are very effective and offer many conveniences, they may not suit every project. Those not interested in Classy’s CSS classes can choose a different base theme.

Choose Classy when

You want a theme with well-structured CSS classes already present in the HTML. The Classy base theme reduces (and sometimes eliminates) the need to add classes to your HTML.

Choose Stable when

You prefer a theme with minimal CSS. For example, Stable can be used if you don’t want Drupal’s classes to conflict with the CSS/JS frameworks used in your theme.

Stable is the base theme used when no base theme is specified in your subtheme.

Choosing Stable means you are fully responsible for naming and structuring your own classes.

Once you've chosen your base theme, you can read more about implementing it here: Creating a Drupal 8 subtheme.

More information

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.