• Resolved brightonmike

    (@brightonmike)


    Hi

    Having updated to 3.3, the new admin bar has no styles and sits at the bottom of the pages.

    I’ve tried emptying my cache both browser and server.

    I do use a custom admin theme but first of all the problem persists when disabled, and secondly it only over rides aesthetics and does not affect layout.

    Using Chrome Developer tools, when I inspect the bar, it’s not loading any styles at all.

    I have checked my wp-admin files and all the CSS files are there but for some reason WordPress is not loading these styles.

    Ideas?

Viewing 15 replies - 1 through 15 (of 19 total)
  • It could be a conflicting stylesheet from a plugin or theme. Try temporarily disabling them.

    Have you confirmed the issue in a different browser? Chrome tends to hold onto cache files more vigorously than the other browsers.

    Finally, do you use any caching or css minification plugins/services?

    Thread Starter brightonmike

    (@brightonmike)

    I’ve disabled every plugin – no change.

    I run W3 Total Cache, I have flushed the cache numerous times and disabled the plugin – no change.

    I’ve loaded the site in Firefox – same problem.

    I’ve same problem. Using twenty ten theme and the all thing looks not good at all.

    It seams that I also lost the image path for the whole wp install.

    Any ideas?

    (have disable the few plugins I have and only have twenty ten and twenty eleven as theme and also switched themes without any success)

    You might need to do a manual re-install

    When all else fails, download a fresh copy of the latest.zip file of 3.3 (top right on this page) to your computer, and use that to copy up. You may need to delete the wp-admin and wp-includes folders on your server. Read the Manual Update directions first!

    Thread Starter brightonmike

    (@brightonmike)

    Man, I hate manual updates. Giving it a shot though.

    Thread Starter brightonmike

    (@brightonmike)

    The problem goes away when I activate TwentyEleven as a theme.

    ??

    A lot of themes do interfere with the Toolbar. What are you using?

    Thread Starter brightonmike

    (@brightonmike)

    Custom theme.

    I use the same functions.php as TwentyTen but the one that was modified for HTML5 (but before TwentyEleven).

    I believe it may be that my functions file has not been updated and something in it needs changing/adding.

    Are all your calls to <?php wp_head(); ?> and <?php wp_footer(); ?> in the correct place?

    This article about frontend script/style loading changes in 3.3 could also be applicable: https://wpdevel.wordpress.com/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/

    Thread Starter brightonmike

    (@brightonmike)

    Yep. Both are fine.

    Hmmm… I’m starting to run out of idea’s. It’s obviously something in the theme.

    Is the Toolbar stylesheet actually being loaded when you use “View Source” on the webpage? If not, you may need to add a manual call in your theme.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Twenty Ten got a recent update for 3.3

    I would compare your changes to what’s in there now, if you didn’t make a child theme of it….

    Thanks @thewebatom, this was the solution for me. After a manual update of the site, everything work flawless ??

    Thanks!

    Thread Starter brightonmike

    (@brightonmike)

    The styles are loaded by load-styles.php in wp-admin.

    I’ve found the problem. The load-styles.php is not calling the admin bar styles.

    This should be in the URL:

    &load=admin-bar,wp-admin,wp-pointer

    But it’s showing only this:

    &load=wp-admin,wp-pointer

    So for some reason with my theme activate, it’s stopping the load-styles.php script calling the right css.

    Thread Starter brightonmike

    (@brightonmike)

    Ipstenu, I didn’t make it as a child theme. I know this is wrong but I originally made the theme a long time ago.

    I’ve compared my functions.php to the current TwentyTen functions.php and I can’t identify anything missing or different in mine except that in two occurences I was using “TEMPLATEPATH”. This has been changed but has made no effect.

    My next step is to just replace my functions.php with the twentyten one.

    I guess the step after that is to re-write my theme so it’s nothing to do with TwentyTen. I think the only thing to be honest that still connects it to TwentyTen is the functions file.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘3.3 New Admin bar has no styles’ is closed to new replies.