toolbar not showing on mobile

hello
For some reason the toolbar at the top don’t show on mobile phones just a blank toolbar
I tried to add the following code but no joy

/* wp-admin bar */
@media screen and (max-width: 782px) {
	#wpadminbar li#wp-admin-bar-bp-login a, #wpadminbar li#wp-admin-bar-bp-register a {
		padding: 0 8px;
	}
}

@media screen and (max-width: 782px) {
	#wpadminbar li#wp-admin-bar-bp-login, #wpadminbar li#wp-admin-bar-bp-register #wpadminbar {
		display: block;
	}
}

Any ideas?
Many Thanks
David

Hi David,

The toolbar should show automatically if you have created a menu and set it to be the primary menu.
If you mean the wordpress toolbar that shows at the very top when logged into the dashboard area then check the option on your profile i.e. user \ your profile - toolbar option - make sure that is enabled…

Maybe a link to the page would help clarify this and we can see if we can fix this up for you.
Could you provide a link to the site we check this.

Thanks.

Hi
Yes wordpress toolbar that shows at the very top it shows on desktop and tablet but it wont show on mobile phones
the site
many thanks
David

Hi there,

Could you use this CSS to show that bar on mobile:

@media screen and (max-width: 782px){
#wp-toolbar>ul>li, #wpadminbar #wp-admin-bar-user-actions.ab-submenu img.avatar {
    display: block;
}

#wpadminbar #wp-admin-bar-search {
    display: block;
}
}

Hope this helps.

ok thank you that worked :slight_smile:

Hello there,

I am glad the solution worked for you.
Please feel free to contact us again in the future regarding any other issues.

Best Regards,
Support