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.
When viewing the Gratis theme on a touch device with a 960px wide viewport there is no main navigation. This was reported by a users of a LG G Pad in landscape mode and I've been able to replicate in Chrome emulating as a Google Nexus 7 (2nd gen). The issue appears to be that in styles.css there are different styles set with a max-width: 60em and min-width: 59.938em leaving a 0.62em window where nothing is displayed
Comment | File | Size | Author |
---|
Comments
Comment #2
Danny EnglanderBad oversight on my part. I was playing around with too many changes :). I've pushed a fix to dev so if there is a chance you could test that would be great. I'd like to make a new release soon with this fix.
Comment #3
Danny EnglanderComment #5
mhawksey CreditAttribution: mhawksey commentedThanks for the quick fix. Just a thought that at 960px the theme is still in grid layout and as such users might expect the navigation bar. Switching to 59.938em instead of 60em would achieve this. [If it helps I'm attempting my first drupal patch]
Comment #6
Danny EnglanderHi Thanks for the patch and I really appreciate it. I think I'd like to keep the fix where it is now. Note, I actually changed some of the widths to 59.99em so there would be no gaps now. The menu media query is actually now 60em and changes over at 60.01em (961px).
Note, even if I could accept the patch, you would have had to update the Sass files and then compile the CSS. There's instructions how to do that in the readme. I do appreciate the effort though. Thanks.
Comment #7
Danny EnglanderComment #8
mhawksey CreditAttribution: mhawksey commentedAh okay generating a patch wasn't too hard, I'll try and do it for the right for next time ;)
[I'm domain admin for https://www.alt.ac.uk working on a sub of Gratis https://www.alt.ac.uk/about-site ]
Comment #9
Danny Englanderwow, this is fantastic. I'd like to start a section on the project page, "Gratis in the wild". Can I link to your site? Thank you
Comment #10
mhawksey CreditAttribution: mhawksey commentedSure - it would be a pleasure to be featured