Admin Bar Bug in Chrome

From some reason my admin bar does not show up, it shows only in dashboard , but i want it to show for admin and users on website when the logged in. in firefox it shows but in chrome no. i have cleared all cashes, what might be the problem?
it is some how related to the wordpress language change, it used to work on hebrew but when i change to english the admin bar is ok but when i change wordpress to hebrew it vanish
and from some reason my accesibility plugin doesnt work anymore, i have no idea what happend, perhaps one of the staff team changed something on my website and now they dont work neither the admin bar and neither the accesibility plugin when the website is on hebrew language
screenshot>> http://prntscr.com/jdhunm

Hi @angelofgod,

Thanks for writing in.

I could see that this code below is causing the problem.

Try to add this in your Custom CSS :

#wpadminbar .screen-reader-shortcut {
    position: absolute;
    top: -304em;
}

Let us know how it goes.

Thanks.

1 Like

thanks, it works but when i mouse over items on the menu it goes transparent again.
where exacly can i find this code you showed me, i think it should be fixed where this code is

Hi There,

Can you please try adding this css and let us know.

#wpadminbar li {
float: right !important;
}

let us know if that helps!

no it didnt fix the problem, can you please answer my question?
where exacly is the code error so i will fix this direcly instead of adding code on code

Hi there,

I have just checked your site and the admin bar seems to be displaying correctly now.

Please try to clear your cache including the browser cache as well.

Hi, no its not, when you mouse over items its dissapearing,
please answer my question, where did you find this code error? screenshot>> http://prntscr.com/jdu4u0

Hello There,

Sorry if it didn’t resolve your issue. Could you please remove the give codes first? I would like to start fresh and investigated the issue of what really cause this. Have you tested for a plugin conflict already?

Please let us know how it goes.

Hey, i have just noticed that all my widgets are gone, have you done any changes?
my Accesibility, visiors counter and chat bubble are gone
p.s. i have removed the given codes

Hello There,

No I have done anything. I only check the codes and check which plugins is active. That is also why I asked you to remove it yourself and asked you to test for plugin conflict. The missing features could be because you have deactivated some of your plugins.

Regards.

Hey,

I have deactivated all plugins - That doesnt fix it
i have activated all plugins - That doesnt fix it.

Please tell me where is the code error. where did you find this code error? screenshot>> http://prntscr.com/jdu4u01
when wordpress language is in english its all ok but when its in hebrew it goes wrong
however in link: https://shofar-messiah.com/store/
the admin bar is shown.

Hi there,

It’s the code given above (CSS), please remove them. We have done nothing in your admin bar to cause the issue. Its styling is solely applied by Wordpress and not the theme. If the CSS above cause additional issues, then please remove it and check it again.

Thanks

hi
Please tell me where is the code error. where did you find this code error? screenshot>> http://prntscr.com/je39df
https://theme.co/apex/forum/t/admin-bar-bug-in-chrome/31633/2
please help me solve this issue, it is realy annoying, what should i do?

Update: this issue is caused because of the instructions in this thread:

when i removed the file wp-header.php in folder wp-content/themes/x-child/framework/legacy/cranium/headers/views/ethos/.
the admin bar began working.

How ever it is still a little bit more buggy, the admin pannel is tranparent, and not sticky. too

what should i do then

Hi there,

Could we tackle issues one at a time? Removing that file affect your custom code in the other thread where assigning Secondary Menu to Integrate Specific Theme Location. These issues are related to same area, doing some change may affect other threads where troubleshooting is needed too. Perhaps, we can discuss these one at a time.

Thanks!

ok then, but how do i solve this? what code do i need to insert in that file inorder for it to work

Hi Adam,

Please consider that our theme does not have anything to do with the Admin Bar feature of the WordPress. It is indeed not related to our theme, you can test that by changing the theme to the standard WordPress theme and test the case.

You need to check for possible plugin conflicts or check your customization code that might cause the problem.

This is not related to our theme so that we can not be the ones to help you fix an issue which is not related to our product.

Thank you for your understanding.

The issue is fixed after i added code

#wpadminbar .screen-reader-shortcut {
position: absolute;
top: -100em;
}

Glad you’ve sorted it out.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.