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.
I have checked the setting to hide the admin toolbar.
Is this setting also suppose to work on the admin_menu module?
It has no effect on my site at all. The admin menu remains in place when I edit any CSS file.
Comments
Comment #1
guybedford CreditAttribution: guybedford commentedThis is the core administration menu in D7. If an update to core has caused the css class to change I can look into updating this with the next release.
Comment #2
inventlogic CreditAttribution: inventlogic commentedYes the admin_menu module is not the core toolbar module so the div ids are different.
Can you please update the live_css module to test if the admin_menu module is installed, maybe module_exists and include in the css.js a hide and show section for the admin_menu module div wrapper #admin-menu as well as a hide and show for the #toolbar div with an if to test which div to enable or disable?
I edited the css.js file and changed #toolbar to #admin-menu which is the div wrapper id around the admin_menu toolbar.
The following works ok on my setup.
Around line 289 change to the following
Around line 341 change to the following
Comment #3
guybedford CreditAttribution: guybedford commentedSure I will see if I can add this in the next release.
Comment #4
guybedford CreditAttribution: guybedford commentedAdded to master
Comment #5
guybedford CreditAttribution: guybedford commentedAdded to master
Comment #6
guybedford CreditAttribution: guybedford commentedAdded to master