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.
Background color appears only on hover. In the main navigation new line's background color doesn't appear without hover. It is appearing only on hover
Comment | File | Size | Author |
---|---|---|---|
#6 | Screenshot 2020-06-16 at 5.08.17 PM.png | 1.73 MB | kiran.kadam911 |
#6 | Screenshot 2020-06-16 at 5.15.50 PM.png | 1.03 MB | kiran.kadam911 |
#6 | main-menu-background-issue-3149790-6.patch | 1.27 KB | kiran.kadam911 |
Comments
Comment #2
Gauravvvv CreditAttribution: Gauravvvv commentedI have provided the patch please verify if it is working or not.
Comment #3
Gauravvvv CreditAttribution: Gauravvvv commentedComment #4
kiran.kadam911Hello @Gauravmahlawat
Look like this is not an issue, It just hover behavior on menu items. The main issue in the height of the #menu which is static 34px because of that menu background color is not applying if the menu items are more.
Taking this up for dynamic work.
Comment #5
kiran.kadam911@Gauravmahlawat Also, patch #2 is showing error while applying. Screenshot attached from the terminal.
Comment #6
kiran.kadam911Kindly review the attached patch.
Set #menu & #nav min-height instead of height also added
clearfix
class in page.html.twig #menu section.Screenshots:
Comment #7
Gauravvvv CreditAttribution: Gauravvvv commentedComment #8
jcnventura CreditAttribution: jcnventura at 1xINTERNET commentedComment #10
jcnventura CreditAttribution: jcnventura at 1xINTERNET commented