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.
The main menu is not styled properly on the mobile view.
I have attached a screenshot for better reference.
Comment | File | Size | Author |
---|---|---|---|
#7 | Screenshot #7.png | 644.11 KB | Vinayak.Ambig |
#3 | Main_menu_fixed_mobile-3177094-03.patch | 726 bytes | lokeshsahu |
#3 | Screenshot 2020-10-16 at 10.54.25 AM.png | 150.26 KB | lokeshsahu |
Screenshot 2020-10-15 at 5.40.10 PM.png | 108.96 KB | lokeshsahu |
Comments
Comment #2
lokeshsahu CreditAttribution: lokeshsahu at OpenSense Labs commentedComment #3
lokeshsahu CreditAttribution: lokeshsahu at OpenSense Labs commentedI have created a patch for the above issue, please review and let me know if its working.
Comment #4
JatinGupta40 CreditAttribution: JatinGupta40 at QED42 for Drupal India Association commentedI will review the patch.
Comment #5
JatinGupta40 CreditAttribution: JatinGupta40 at QED42 for Drupal India Association commentedThe patch doesn't applied for me and showing the below error
git apply -v Main_menu_fixed_mobile-3177094-03.patch
Checking patch css/style.css...
error: while searching for:
}
@media(min-width: 0px) and (max-width: 767px) {
#block-business-main-menu {
position: initial;
height: auto;
}
#block-business-main-menu .dropdown-menu {
position: initial;
float: none;
}
.navbar-collapse {
max-height: initial;
}
.navbar-header {
float: none !important;
width: 100%;
error: patch failed: css/style.css:1397
error: css/style.css: patch does not apply
Comment #6
JatinGupta40 CreditAttribution: JatinGupta40 at QED42 for Drupal India Association commentedComment #7
Vinayak.Ambig CreditAttribution: Vinayak.Ambig as a volunteer and at Material for Drupal India Association commentedI have gone through issue mentioned and followed steps. I'm not able to reproduce the issue. It's working as expected. Attached screenshot
Steps followed
1. Drupal set up 9 and enabled Business theme.
2. Verified the changes on mobile view - Not able to reproduce the issue. It's working as expected.