Matt Fiddles

Life's so vast, there's just so much to do...

User Tools

Site Tools


Sidebar

BOOK ...Man had always assumed that he was more intelligent than dolphins because he had achieved so much... the wheel, New York, wars, and so on, whilst all the dolphins had ever done was muck about in the water having a good time. But conversely the dolphins believed themselves to be more intelligent than man for precisely the same reasons.



Where will you go today?

"The people who get on in this world are the people who get up and look for the circumstances they want and if they can't find them, make them."
-- George Bernard Shaw
computers:websites:wordpress:admin-bar

Wordpress Admin Bar

To edit the placement of it, remember:

@media screen and (max-width:400px) and (max-height:600px)

To remove admin bar

add_filter( 'show_admin_bar', '__return_false' );

or

if (!current_user_can('administrator')) :
  show_admin_bar(false);
endif;

or to make it so it doesn't scroll: (add to theme style sheet)

/* Do not have admin bar always hovering, and show pic popups over it */
#wpadminbar{
	top: 0px;
	position: absolute;
	z-index: 9999; /* allow lightbox and other things to cover it */
}
computers/websites/wordpress/admin-bar.txt · Last modified: Apr 22, 2014 (5 years ago) by Matt Bagley