From 0a8642fde08508789e629ea05410ef7124d321a9 Mon Sep 17 00:00:00 2001 From: Hugh Ratsch Date: Sun, 2 Mar 2025 12:14:39 -0600 Subject: [PATCH] Fix conflicting CSS rules to completely hide sidebar --- custom.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/custom.css b/custom.css index 4f95473..ea6f9e5 100644 --- a/custom.css +++ b/custom.css @@ -1,15 +1,21 @@ /* Custom styling for IT Learning Notes */ -/* Hide the sidebar/TOC completely */ +/* IMPORTANT: Hide the sidebar/TOC completely */ +html body .sidebar, .sidebar { display: none !important; + width: 0 !important; + visibility: hidden !important; } /* Make content take up full width without sidebar */ +html body .content-wrap, .content-wrap { margin-left: 0 !important; + margin-right: 0 !important; max-width: 100% !important; padding: 0 30px !important; + left: 0 !important; } /* Right/left navigation buttons */ @@ -143,7 +149,6 @@ th { /* Ensure chapters don't disappear */ .chapter { display: block !important; - visibility: visible !important; } /* Ensure main menu button is visible */