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'm using Drupal Bootstrap theme. I've assigned classes to the main menu items. Now my dropdown menu when viewing on phone is invisible. The menu icon that should be there from Bootstrap theme doesn't display, it is transparent?
Any settings I've assigned to the menu items I've done in a @media (min-width:500px) so those settings don't come through on my phone display.
Comments
Comment #1
hmartens CreditAttribution: hmartens commentedIt seems like it's throwing out "navbar-default" and another class which I'm still trying to figure out.
When I manually add the class "navbar-default" in page.tpl.php on the menu then the menu icon appears on my phone.
Comment #2
hmartens CreditAttribution: hmartens commentedI made a dumb mistake! I had double colons in the part where you do you a php call for print class so it wasn't printing the classes! It now works perfect ;)