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 currently using tinynav for my main menu and it's working great. However I would like to use this with a few other menus on the site but each menu has a different breaking point. My main menu breaks at 720px but my secondary nav breaks around 400px.
What is the feasibility of allowing for multiple selector / media query combinations?
Comments
Comment #1
btopro CreditAttribution: btopro commentedWould take some minor reworking if you want to keep these settings in Drupal. The library is really easy to implement w/o the need for the module to do it so til then could just look in the tinynav_init function to see how it's generating the media query selector and replicate that functionality in your theme.
Personally haven't had the need to do multiple at different break points but that sounds like a good idea. It does accept multiple selectors, just not multiple break points at this time.
Comment #2
btopro CreditAttribution: btopro commentedWill take patches against this but no need for it personally.