Page 1 of 1

How to change the color of scrollbar?

Posted: 09 Sep 2025, 08:03
by pede
Is there a way to change the color of the scrollbar thumb or scrollbar track on the right edge in general? 
I have already tried various CSS code snippets and saved them under Settings - Custom Code. Unfortunately, it does not work or is immediately reset. I probably did not understand it correctly and would appreciate some guidance.
Peter

Re: How to change the color of scrollbar?

Posted: 09 Sep 2025, 21:00
by mjau-mjau
pede wrote: Is there a way to change the color of the scrollbar thumb or scrollbar track on the right edge in general? 
I have already tried various CSS code snippets and saved them under Settings - Custom Code. Unfortunately, it does not work or is immediately reset. I probably did not understand it correctly and would appreciate some guidance.
Peter
I would recommend ignoring this and keeping your default Windows and Browser-assigned scrollbar styles. First of all, scrollbar styling is pointless for mobile devices and Mac, because the scrollbar is either automatically hidden, never appears in the first place, or simply can't be styled (it's considered part of the OS interface, not the website). On Windows, you can do some basic styling, but styling will be different in different browsers Chrome, Firefox, Safari etc. Also, styling the scrollbars often leads to unwanted general behavior in how scrollbars work, and you can't anticipate how they are configured for each user.

If you really want, show me what you did or what you got now that doesn't work. I'm sure we can add some custom CSS that might work for Windows, but it's very limited, and I don't recommend it. That's why I don't do it with X3 either.

Re: How to change the color of scrollbar?

Posted: 10 Sep 2025, 06:31
by pede
Thank you very much for the helpful explanations. Under these circumstances, I will follow your recommendation and leave it as it is.