Skip to:
Content

BuddyPress.org

Opened 7 months ago

Closed 7 months ago

#8451 closed defect (bug) (fixed)

Show toolbar links at mobile sizes when logged out

Reported by: sabernhardt Owned by: imath
Milestone: 8.0.0 Priority: normal
Severity: normal Version:
Component: Toolbar & Notifications Keywords: has-patch has-screenshots commit
Cc:

Description

The Admin toolbar hides links (all except the logo) plus the search box at the breakpoint of 782px, including the Log in and Register links. At 600px, the logged-out toolbar is completely empty.

(previously reported on Core Trac and more than one support topic)

Attachments (4)

logged-out-toolbar-640.png (8.9 KB) - added by sabernhardt 7 months ago.
only the WordPress logo dropdown shows at 640px wide
logged-out-toolbar-480.png (7.4 KB) - added by sabernhardt 7 months ago.
no toolbar links or search at 480px wide
show-login-links-mobile.diff (1.0 KB) - added by sabernhardt 7 months ago.
show login and register links in logged-out toolbar
show-all-toolbar-links-mobile.diff (2.9 KB) - added by sabernhardt 7 months ago.
proof-of-concept for showing the full toolbar content at any screen size when logged out

Download all attachments as: .zip

Change History (8)

@sabernhardt
7 months ago

only the WordPress logo dropdown shows at 640px wide

@sabernhardt
7 months ago

no toolbar links or search at 480px wide

@sabernhardt
7 months ago

show login and register links in logged-out toolbar

@sabernhardt
7 months ago

proof-of-concept for showing the full toolbar content at any screen size when logged out

#1 @sabernhardt
7 months ago

  • Keywords has-patch has-screenshots added

I think both the Log In and Register links need to show, and I added another option in case all of it should show on all screens.

The expanding search box can drop down at small widths, so that might be good to keep hidden.

#2 @imath
7 months ago

  • Milestone changed from Awaiting Review to 8.0.0

Hi @sabernhardt

Thanks a lot for your report, screenshots, and patches. I agree with you, at the minimum login/register links should appear. I'll have a look at the search bar to see how it displays. Let's try to fix this for 8.0.0.

I'll test your patches asap.

#3 @imath
7 months ago

  • Keywords commit added

I've just checked the WordPress logo and search bar are hidden for logged in users. So I believe your first version of the patch is the way to go.

I'll commit it asap.

#4 @imath
7 months ago

  • Owner set to imath
  • Resolution set to fixed
  • Status changed from new to closed

In 12877:

Improve the WP Admin Bar for logged out users on mobile/small screens

On mobile/small screens, the WP Admin Bar generated by BuddyPress does not show anything and becomes a useless dark area at the top of the page. To make it more interesting, let's make sure the login and register links are shown.

Props sabernhardt

Fixes #8451

Note: See TracTickets for help on using tickets.