mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-24 01:57:53 +01:00
Twenty Thirteen: remove toolbar callback in functions.php -- and add an !important
in its place in the stylesheet. Props obenland, fixes #24129.
git-svn-id: http://core.svn.wordpress.org/trunk@24036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8794b1ceb0
commit
4fb7d7eadb
@ -49,7 +49,7 @@ if ( version_compare( $GLOBALS['wp_version'], '3.6-alpha', '<' ) )
|
||||
* @uses load_theme_textdomain() For translation/localization support.
|
||||
* @uses add_editor_style() To add a Visual Editor stylesheet.
|
||||
* @uses add_theme_support() To add support for automatic feed links, post
|
||||
* formats, admin bar, and post thumbnails.
|
||||
* formats, and post thumbnails.
|
||||
* @uses register_nav_menu() To add support for a navigation menu.
|
||||
* @uses set_post_thumbnail_size() To set a custom post thumbnail size.
|
||||
*
|
||||
@ -91,16 +91,6 @@ function twentythirteen_setup() {
|
||||
'aside', 'audio', 'chat', 'gallery', 'image', 'quote', 'status'
|
||||
) );
|
||||
|
||||
/*
|
||||
* Custom callback to make it easier for our fixed navbar to coexist with
|
||||
* the WordPress toolbar. See `.wp-toolbar` in style.css.
|
||||
*
|
||||
* @see WP_Admin_Bar::initialize()
|
||||
*/
|
||||
add_theme_support( 'admin-bar', array(
|
||||
'callback' => '__return_false'
|
||||
) );
|
||||
|
||||
// This theme uses wp_nav_menu() in one location.
|
||||
register_nav_menu( 'primary', __( 'Navigation Menu', 'twentythirteen' ) );
|
||||
|
||||
|
@ -969,16 +969,12 @@ ul.nav-menu li:hover > ul,
|
||||
}
|
||||
|
||||
/* Fixed Navbar */
|
||||
.wp-toolbar {
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.navbar-fixed {
|
||||
margin-top: 45px;
|
||||
}
|
||||
|
||||
.wp-toolbar.navbar-fixed {
|
||||
margin-top: 73px;
|
||||
margin-top: 73px !important;
|
||||
}
|
||||
|
||||
.navbar-fixed .site-title {
|
||||
|
Loading…
Reference in New Issue
Block a user