BuddyBoss Home – Web › Support Forums › Themes › OneSocial theme › Mobile menu not working
- This topic has 5 replies, 2 contibutors, and was last updated 8 years, 7 months ago by Anve S..
Question
April 10, 2016 at 1:49 pm #67632@omarobaidThe mobile menu is not working for me, am I missing something here?
the links are there but invisible. I tried changing the secondary colour but that did not make any difference.
The same thing happens with the profile menu on mobile when logged in, it slides but it is blank.
Also, the profile/login button only displays on mobile if I activate the buddypress function (display login for logged out users) but, this displays a bar on the desktop too. How I can remove it from desktop and keep it on mobile?
Answers
April 10, 2016 at 1:52 pm #67633@omarobaidI tried the menu on an iPad and it works fine. So the issue is only on mobiles ( I tried a Sony, and a samsung s3 phones)
April 11, 2016 at 3:53 am #67673@anveHi @omarobaid,
You may need to use the following which will leave the Toolbar available in the Dashboard but hide it on all front facing pages.
Just add it in your child theme’s function.php
add_filter('show_admin_bar', '__return_false');
Could you please share your site url to test on mobile .
Regards
AnveApril 11, 2016 at 5:03 am #67679@omarobaidThis didn’t work.
I will send you the site URL in a private message now
April 11, 2016 at 5:42 am #67691@omarobaidCorrection, this code add_filter(‘show_admin_bar’, ‘__return_false’); works fine by removing the black panel at the top on desktop, but it removed the notification and message button from the top menu and some of the links in the profile drop down as well.
Screenshots attached with and without your code.
April 11, 2016 at 7:07 am #67702@anveHi @omarobaid ,
I checked the mobile menus , and both are working fine .Please check again .
Also for hiding the admin toolbar please refer to following thread.
Regards
Anve
- The question ‘Mobile menu not working’ is closed to new replies.