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 kyuubi on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.0.x
Issue links:
Description:
System base css now uses a more generic .icon-help
class to replace the specific .more-help-link a
Themes that depend on this class in their styles are advised to update styles with this new class.
Drupal 7
.more-help-link a {
background: url(../../../misc/help.png) 0 50% no-repeat; /* LTR */
padding: 1px 0 1px 20px; /* LTR */
}
[dir="rtl"] .more-help-link a {
background-position: 100% 50%;
padding: 1px 20px 1px 0;
}
Drupal 8
.icon-help {
background: url(../../../misc/help.png) 0 50% no-repeat; /* LTR */
padding: 1px 0 1px 20px; /* LTR */
}
[dir="rtl"] .icon-help {
background-position: 100% 50%;
padding: 1px 20px 1px 0;
}
Also instead of using the specific more-help-link in the we will use the already existing more-link to accomplish the same goal.
One example in forum.module
Drupal 7
$container = array(
'#theme' => 'container',
'#children' => drupal_render($more_help_link),
'#attributes' => array(
'class' => array('more-help-link'),
),
Drupal 8
$container = array(
'#theme' => 'container',
'#children' => drupal_render($more_help_link),
'#attributes' => array(
'class' => array('more-link'),
),
Impacts:
Module developers
Themers