Skip to:
Content
Pages
Categories
Search
Top
Bottom

Toolbar Empty for Mobile Logged Out Users

  • @darkwoof

    Participant

    Hi,

    I noticed that on my BuddyPress site, if a logged-out user views the site from a desktop browser, there is a “Register” and “Login” link displayed on the toolbar.

    However, on a mobile phone, there is only a plain black bar when viewed in portrait mode, and only the WordPress icon on the left if viewed in Landscape mode. The links are missing from the toolbar.

    This is regardless of the theme used.

    How may I get the links to show up on the mobile browser?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • @nomatterdesign

    Participant

    I have also noticed, even on this website if I shrink my browser to below the width of maybe 400-500px the menu doesn’t show the WordPress logo. Shouldn’t this happen at a much smaller width as to allow it to show on most smartphones?

    @osisis

    Participant

    @mrjarbenne

    Participant

    Add this to the style.css file of your theme:

    /*Fix for hiding the Login menu on Mobile*/
    #wp-admin-bar-root-default #wp-admin-bar-bp-login {
    	display: block;
    }

    If you don’t want to have to edit your theme every time there is a theme update, you could use something like this to add the CSS from the dashboard: https://wordpress.org/plugins/simple-custom-css/

    @nomatterdesign

    Participant

    Thank you guys, I ended up finally finding my way with the use of the All in One Admin Bar plugin (has the custom CSS editor built in) and I used this:

    #wp-toolbar > ul > li {display:block;}

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Toolbar Empty for Mobile Logged Out Users’ is closed to new replies.
Skip to toolbar