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 JohnAlbin on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
7.x-3.x
Introduced in version:
7.x-3.1
Issue links:
Description:
The print style sheets should suppress the printing of Drupal’s admin toolbar. Edit your print.css and change this CSS rule:
/* Hide sidebars and nav elements */
#skip-to-nav,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
by adding the #toolbar,
to the beginning of that rule. Like this:
/* Hide sidebars and nav elements */
#toolbar,
#skip-to-nav,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
Impacts:
Site builders, administrators, editors
Themers