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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Gauravmahlawat created an issue. See original summary.

Gauravvvv’s picture

I have provided the patch please verify if it is working or not.

Gauravvvv’s picture

Status: Active » Needs review
kiran.kadam911’s picture

Assigned: Unassigned » kiran.kadam911
Status: Needs review » Needs work

Hello @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.

kiran.kadam911’s picture

FileSize
256.37 KB

@Gauravmahlawat Also, patch #2 is showing error while applying. Screenshot attached from the terminal.

kiran.kadam911’s picture

Assigned: kiran.kadam911 » Unassigned
Status: Needs work » Needs review
FileSize
1.27 KB
1.03 MB
1.73 MB

Kindly review the attached patch.

Set #menu & #nav min-height instead of height also added clearfix class in page.html.twig #menu section.

Screenshots:

Gauravvvv’s picture

Status: Needs review » Reviewed & tested by the community
jcnventura’s picture

jcnventura’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.