• Pace is displaying with a 32 pixel offset even if the Admin Bar is disabled site-wide. To fix it you need to replace this line:

    if ( is_user_logged_in() ) { $loggedin = '.pace .pace-progress {margin-top: 32px;}'; }else{ $loggedin = ''; }

    with this:

    if ( is_admin_bar_showing() ) { $loggedin = '.pace .pace-progress {margin-top: 32px;}'; }else{ $loggedin = ''; }

    https://www.ads-software.com/plugins/wp-pace/

  • The topic ‘Fix for is_admin_bar_showing’ is closed to new replies.