Add missing IDs to sidebar boxes #5130

Open
opened 2026-02-05 09:42:15 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @jantichy on GitHub (Jan 20, 2025).

Describe the feature you'd like

Most of boxes in the #sidebar have their unique HTML id attribute set (for example id="details", id="recent-activity" etc.). And that's great, because it allows me to address them directly in my custom stylesheets.

But on the homepage (when "Shelves" or "Books" are set in Settings > Customization > Application Homepage), following sidebar boxes are missing their unique HTML id:

  • My Recently Viewed
  • Recently Updated Pages

Please is it possible to add their unique HTML IDs too?

Describe the benefits this would bring to existing BookStack users

Admins will be then able to customize an appearance of the boxes in standard and comfortable way, using custom stylesheets in Settings > Customization > Custom HTML Head Content.

Can the goal of this request already be achieved via other means?

Very hardly, probably constructing some complicated CSS DOM selector, that will be dependant on specific texts/translations...

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

Under 3 months

Additional context

No response

Originally created by @jantichy on GitHub (Jan 20, 2025). ### Describe the feature you'd like Most of boxes in the `#sidebar ` have their unique HTML id attribute set (for example `id="details"`, `id="recent-activity"` etc.). And that's great, because it allows me to address them directly in my custom stylesheets. But on the homepage (when "Shelves" or "Books" are set in Settings > Customization > Application Homepage), following sidebar boxes are missing their unique HTML id: - My Recently Viewed - Recently Updated Pages Please is it possible to add their unique HTML IDs too? ### Describe the benefits this would bring to existing BookStack users Admins will be then able to customize an appearance of the boxes in standard and comfortable way, using custom stylesheets in Settings > Customization > Custom HTML Head Content. ### Can the goal of this request already be achieved via other means? Very hardly, probably constructing some complicated CSS DOM selector, that will be dependant on specific texts/translations... ### Have you searched for an existing open/closed issue? - [x] I have searched for existing issues and none cover my fundamental request ### How long have you been using BookStack? Under 3 months ### Additional context _No response_
OVERLORD added the 🔨 Feature Request label 2026-02-05 09:42:15 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5130