Skip to content

Commit 2a6aa6e

Browse files
fix: force hide Just the Docs footer attribution
1 parent d6d3f78 commit 2a6aa6e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/_sass/custom/custom.scss

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@
4242
}
4343

4444
// Hide "Just the Docs" theme attribution in footer
45-
.site-footer .site-footer-credits {
46-
display: none;
45+
.site-footer {
46+
// The theme renders two elements: custom footer_content + theme credits paragraph.
47+
// Hide everything after the first child (our custom content).
48+
p:last-child {
49+
display: none !important;
50+
}
51+
52+
.site-footer-credits {
53+
display: none !important;
54+
}
4755
}

0 commit comments

Comments
 (0)