WordPress.org

Make WordPress Core

Ticket #24129: 24129.diff

File 24129.diff, 1.2 KB (added by obenland, 5 years ago)
  • wp-content/themes/twentythirteen/style.css

     
    969969}
    970970
    971971/* Fixed Navbar */
    972 .wp-toolbar {
    973         margin-top: 28px;
    974 }
    975 
    976972.navbar-fixed {
    977973        margin-top: 45px;
    978974}
    979975
    980976.wp-toolbar.navbar-fixed {
    981         margin-top: 73px;
     977        margin-top: 73px !important;
    982978}
    983979
    984980.navbar-fixed .site-title {
  • wp-content/themes/twentythirteen/functions.php

     
    9191                'aside', 'audio', 'chat', 'gallery', 'image', 'quote', 'status'
    9292        ) );
    9393
    94         /*
    95          * Custom callback to make it easier for our fixed navbar to coexist with
    96          * the WordPress toolbar. See `.wp-toolbar` in style.css.
    97          *
    98          * @see WP_Admin_Bar::initialize()
    99          */
    100         add_theme_support( 'admin-bar', array(
    101                 'callback' => '__return_false'
    102         ) );
    103 
    10494        // This theme uses wp_nav_menu() in one location.
    10595        register_nav_menu( 'primary', __( 'Navigation Menu', 'twentythirteen' ) );
    10696