Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By star-szr on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.0.x
Introduced in version:
8.0.0-rc4
Issue links:
Description:
Previously in the Classy theme when viewing a node page you would have a body class like this, if the node is an article for example:
node--type-article
This conflicted with an identical class on each node's <article>
tag and did not meet Drupal 8 CSS standards because there is no 'node' component on the body and we don't consider the body to be a component either.
For these reasons the class has been changed to (again using article as an example):
page-node-type-article
Impacts:
Themers