Specific pages are not affected when Custom CSS is applied #4857

Closed
opened 2026-02-05 09:21:26 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @merrime-n on GitHub (Jul 6, 2024).

Describe the Bug

I have created a custom CSS block which is used to make the UI right to left and change the font. It works everywhere but it doesn't affect the font of this specific page:

.../settings/features

Is there something different with this page?

Steps to Reproduce

  1. Go to settings
  2. Add a style block
  3. The settings page itself is not changed

Expected Behaviour

Since I have used an asterisk in my CSS to affect everywhere, I expect all pages to have the same font.

Screenshots or Additional Context

The other pages:
1

The Settings page:
2

Browser Details

No response

Exact BookStack Version

v24.05.1

Originally created by @merrime-n on GitHub (Jul 6, 2024). ### Describe the Bug I have created a custom CSS block which is used to make the UI right to left and change the font. It works everywhere but it doesn't affect the font of this specific page: ``` .../settings/features ``` Is there something different with this page? ### Steps to Reproduce 1. Go to settings 2. Add a style block 3. The settings page itself is not changed ### Expected Behaviour Since I have used an asterisk in my CSS to affect everywhere, I expect all pages to have the same font. ### Screenshots or Additional Context The other pages: ![1](https://github.com/BookStackApp/BookStack/assets/100111649/5eb385eb-7838-4189-8815-c009817a8201) The Settings page: ![2](https://github.com/BookStackApp/BookStack/assets/100111649/a750abaf-aebf-4e86-95e0-b26927d7e0bf) ### Browser Details _No response_ ### Exact BookStack Version v24.05.1
OVERLORD added the 🐛 Bug label 2026-02-05 09:21:26 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jul 6, 2024):

Hi @okaeiz,
Custom head HTML isn't applied to the settings page to ensure those pages remain accessible (and settings remain unaltered) in the case where any problematic/breaking code is applied.

@ssddanbrown commented on GitHub (Jul 6, 2024): Hi @okaeiz, Custom head HTML isn't applied to the settings page to ensure those pages remain accessible (and settings remain unaltered) in the case where any problematic/breaking code is applied.
Author
Owner

@merrime-n commented on GitHub (Jul 6, 2024):

So, what's your suggestion?
It is annoyingly inconsistent.

@merrime-n commented on GitHub (Jul 6, 2024): So, what's your suggestion? It is annoyingly inconsistent.
Author
Owner

@ssddanbrown commented on GitHub (Jul 6, 2024):

@okaeiz If really wanted, you could apply customizations via the visual theme system instead, overriding this view and adding styles, which would then be applied to all views.

@ssddanbrown commented on GitHub (Jul 6, 2024): @okaeiz If really wanted, you could apply customizations via the [visual theme system instead](https://github.com/BookStackApp/BookStack/blob/development/dev/docs/visual-theme-system.md), [overriding this view](https://github.com/BookStackApp/BookStack/blob/development/resources/views/layouts/parts/base-body-start.blade.php) and adding styles, which would then be applied to all views.
Author
Owner

@ssddanbrown commented on GitHub (Sep 26, 2024):

I'll go ahead and close this off. #5219 has been open as a related request.

@ssddanbrown commented on GitHub (Sep 26, 2024): I'll go ahead and close this off. #5219 has been open as a related request.
Author
Owner

@merrime-n commented on GitHub (Oct 14, 2024):

People raise issues and issues get closed with no convincing reason (e.g custom headings are not allowed because the project owner prefers to zoom in and zoom out and expects other people to follow this method). PRs are not welcomed.
I don't know how this project is open to contributions.

@merrime-n commented on GitHub (Oct 14, 2024): People raise issues and issues get closed with no convincing reason (e.g custom headings are not allowed because the project owner prefers to **zoom in** and **zoom out** and expects other people to follow this method). PRs are not welcomed. I don't know how this project is open to contributions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4857