Opened 5 years ago
Closed 5 years ago
#4472 closed enhancement (fixed)
Improve BuddyPress Trac's header for mobile devices
Reported by: | imath | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | buddypress.org | Keywords: | has-patch has-screenshots |
Cc: |
Description
Hi !
Following #4460, I'm suggesting to improve the BuddyPress Trac's header for mobile devices.
I've noticed, there was a JavaScript to toggle the "hamburger" menu, this patch is using the expected selector IDs for this navigation.min.js
script. This means the layout of trac.wordpress.org/templates/buddypress/wporg-header.html
has been edited.
I've also changed the navigation links as there were using http protocole instead of the https one.
You'll find screenshots and the patch attached to this ticket.
Attachments (9)
Change History (24)
This ticket was mentioned in Slack in #buddypress by imath. View the logs.
5 years ago
#6
@
5 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening. Trac header's are looking pretty broken now.
#7
@
5 years ago
@johnjamesjacoby Thanks for the commits I think there's some edits missing around line 12 in sites/trunk/trac.wordpress.org/templates/bbpress/wporg-header.html
and sites/trunk/trac.wordpress.org/templates/buddypress/wporg-header.html
<button id="mobile-menu-button" aria-expanded="false"><span class="screen-reader-text">Toggle Menu</span></button> <ul id="wporg-header-menu">
#9
@
5 years ago
Hi @johnjamesjacoby
I've just had a look, here's what I suggest :
- Make sure the button is outside the
<ul>
but inside the.header-inner
(> button-outside-ul.png) - Make sure the #wporg-header is styled in style-buddypress.css ( > wporg-header-color.png )
Then it should look like result.png :)
#13
@
5 years ago
Hi @johnjamesjacoby
I've just ran some other tests and I missed the single ticket view in my first patch. In this view the #subnav
is missing and it makes the main nav hidden.
The patch is fixing the hover effect on the header links and this ticket single view
Thanks a lot for your help with it 👍
Screenshot of the unfolded hamburger menu