[Resolved] Admin bar missing on mobile site
-
Howdy,
I just created a brand new WP install and installed BP into it using the default theme. No other plugins added.
On my browser, the admin bar shows up just fine. But on my phone, the admin bad does not show up.
Should it? Seems like it should, otherwise there’s no way easy way to get to the user’s profile page. Or maybe the mobile respnsive site creates something else and I’m just not seeing it?
My main question is, In a plain vanilla default installation, should I be seeing the admin bar at the top of the mobile site the same way I see it on the desktop browser version of the site.
Thanks
Calvin
-
No.
It’s been hidden by responsive.css, which could be found in your theme’s _inc > css folder.
You could show the adminbar everywhere, if you override the css either in child theme (recommended way, future proof) or in the responsive css itself if that’s the only change you need to do (by commenting out, like below, not recommended though)
`#wpadminbar {
// display: none;
}`A tip: to check if something is due to responsive theme or not, resize the browser window to emulate smaller screens.
Many thanks for the information. I’ll look into commenting out that line.
But that leads me to a second question. I am guessing that the theme designers removed the admin bar for a reason. Possibly because if the width of the page gets too narrow, the bar can’t fit.
So I’m wondering if there is an alternate way to get to the users personal pages like /members/username/activity. The only way I can see to do w/o the Admin bar is for the user to find himslef/herself in the member directory.
But if there was a simple way for the user to get to their profile page w/o the admin bar, that would be cool with me. Any ideas if this is possible?
Ok Duh. If you click your icon/id link in the meta widget it takes you right there. So there _is_ an easy way to do it. in fact it’s so obvious I didn’t even think about it! So I don’t need to make the admin bar show up all the time after all.
By the way, I LOVE THE RESPONSIVE THEME!
- The topic ‘[Resolved] Admin bar missing on mobile site’ is closed to new replies.