MediaWiki:Vector-2022.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (β-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (β-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ==== Force Sidebar to Stay Pinned and Visible (Vector 2022) ==== */
/* Expand main content area to make room for pinned sidebar */
.vector-body {
margin-left: 12.25em !important;
}
/* Force sidebar to be visible */
.vector-sidebar-container {
transform: none !important;
visibility: visible !important;
position: static !important;
}
/* Cover both pinned and unpinned states */
.vector-pinned .vector-sidebar-container,
.vector-unpinned .vector-sidebar-container {
transform: none !important;
visibility: visible !important;
position: static !important;
}
/* Hide the pin/unpin toggle button */
.vector-pinned-toggle-button {
display: none !important;
}
/* Hide the hamburger (β°) main menu toggle button */
.vector-main-menu-toggle {
display: none !important;
}
/* Optional: Hide the right sidebar toggle if not used */
.vector-page-tools-pinned-container,
.vector-page-tools-toggle {
display: none !important;
}