diff --git a/tools/droiddoc/templates-sdk/assets/css/default.css b/tools/droiddoc/templates-sdk/assets/css/default.css
index c650277a6c..cb9d323f4e 100644
--- a/tools/droiddoc/templates-sdk/assets/css/default.css
+++ b/tools/droiddoc/templates-sdk/assets/css/default.css
@@ -4203,8 +4203,8 @@ EndColorStr='#ececec');
z-index: 52;
}
-/* offset the tags in reference to account for sticky nav */
-body.reference a[name] {
+/* offset the tags to account for sticky nav */
+a[name] {
visibility: hidden;
display: block;
position: relative;