• Hi,
    I have recently updated the GeneratePress theme from v2.1.3 to v.2.4.2 (after suspending activity in the site for about a year), and noticed that the Admin Bar at the top of the site disappeared – It became transparent on all pages (except for the admin dashboard), so while you can still see that *something* is supposed to be there, you can’t interact with it.
    I have made sure that this issue isn’t the fault of a plugin (by both disabling all of the plugins and temporarily renaming the plugin folder), and when I re-uploaded my backup of version 2.1.3, the bar became visible again.
    Just to make sure, I’ve tried updating the theme *again*, and the problem indeed appeared once again.
    I’m currently using v2.1.3 so I can retain the admin bar – What can I do in order to fix this issue?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    do you have any Custom CSS or functions added to your site – as this isn’t normal behaviour. Let me know

    Thread Starter dolevbaron

    (@dolevbaron)

    Hi,
    After reading your response I went ahead and deleted the entire CSS of my site, just to make sure – And apparently a certain line there was actually the source of the problem:

    	body > div:nth-child(2) {
    	display: none !important;
    	}
    

    I don’t know too much about CSS myself, but I’m guessing the order of the “divisions” changed after updating the theme, which caused the admin bar to be selected and its display state to be changed to ‘none’?
    Either way, I’m not the one who originally wrote that line (and I’m not sure if it was added by the person who managed the site before me, or if it was part of the older theme that was explicitly added to the child-theme), so I’m currently looking into that, but at least I know the source of the issue..
    Thank you for the support

    Theme Author Tom

    (@edge22)

    Hi there,

    You’ll definitely want to remove or update that CSS to target a specific selector (class or ID). Right now it’s very broad and has the potential to cause breakages to the theme and your plugins.

    Hey! Yesterday I connected my site to jetpack using another admin I had. But ever since then I can’t see the admin bar. Though I am the admin and I can do everything else that an admin can but the top admin has disappeared.

    Image

    • This reply was modified 4 years, 6 months ago by nox.
    Leo

    (@leohsiang)

    Hi there,

    I would recommend disabling all plugins to eliminate any conflicts first.

    If Jetpack is the one causing the issue then I would recommend checking with their support first ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Updating from v2.1.3 to v2.4.2 Breaks the Admin Bar’ is closed to new replies.