diff --git a/docs/theme/mkdocs/base.html b/docs/theme/mkdocs/base.html index 5a78ffe291..f931be2c90 100644 --- a/docs/theme/mkdocs/base.html +++ b/docs/theme/mkdocs/base.html @@ -132,7 +132,7 @@ piCId = '1482'; if (userName) { $('.topmostnav_loggedout').hide(); $('.topmostnav_loggedin').show(); - $('.navbar #usernav .nav li a').text(userName); + $('#logged-in-header-username').text(userName); } else { $('.topmostnav_loggedout').show(); $('.topmostnav_loggedin').hide(); diff --git a/docs/theme/mkdocs/header.html b/docs/theme/mkdocs/header.html index 9a438d9683..785797f0dc 100644 --- a/docs/theme/mkdocs/header.html +++ b/docs/theme/mkdocs/header.html @@ -31,16 +31,15 @@