Scrollable Map Sidebar

Scrollable Map Sidebar en

Installations 64 Likes 8

Modifies the map Explore sidebar to optimize space and keep some information and buttons on-screen at all times. Only applies to desktop view.

This theme modifies the default scrolling behaviour in four ways:

  1. Optimizes the wasted space at the top and bottom and uses a thin scrollbar rather than a wide one (customizable). Padding is also adjusted slightly.
  2. Pins the following elements to the top regardless of scrolling: Close button; map name, in the default pane; custom marker name, if set, while viewing a marker.
  3. Pins the following elements to the bottom regardless of scrolling: "Back to (Map Name)" button, in the default pane; action buttons, while viewing a marker, if the user has the right privileges.
  4. All other content scrolls in between (marker descriptions, entity names and entries, or map entry and legend in the default pane).

Note that depending on your browser and OS settings, the scrollbar may be more or less invisible at first. Whether or not this is the case, you can customize the scrollbar’s colours by adding the following rules to your campaign’s CSS (the first property sets the track, or gutter, and the second sets the slider, or handle):

.main-sidebar {
--map-sidedar-scrollbar-track-color: slategrey;
--map-sidedar-scrollbar-slider-color: whitesmoke; }

You can do the same for the scrollbar’s width (thin or auto) using the following properties:

.main-sidebar {
--map-sidedar-scrollbar-width: thin; }

However, this property is only supported on Firefox and derivatives as of summer 2021.

More sidebar goodness

This theme can be used alongside either of Scrollable Main Sidebar or Pop-Out Sidebar and pairs well with Map Sidebar Legibility Upgrades.

Want to show appreciation for my plugins or request one-on-one CSS help? I accept tips on Ko-fi (no account needed): Support me on

Latest version 2.4

Released 7 months ago

A tiny fix to account for the theme builder.