I am trying to change the scrollbar track color but can not find the CSS that controls the scrollbar/scrollbar track.
Is this possible to do/change?
I am trying to change the scrollbar track color but can not find the CSS that controls the scrollbar/scrollbar track.
Is this possible to do/change?
Hi there, @Sam_S
I’ve forwarded your request to the devs. I’ll update you once I hear back from them
Thank you for waiting!
We’ve checked your widget and see that this scrollbar and see that it’s not displayed there anymore.
However, our devs still prepared a CSS code for you in case you’d like to get it back:
.global-styles,
.es-layout-sidebar-background-container {
--scroll-track-color: #af0;
--scroll-thumb-color: #f0a;
--scroll-thumb-color-hover: #a09;
overflow: auto scroll;
scrollbar-color: var(--scroll-thumb-color) var(--scroll-track-color);
}
.global-styles,
.es-layout-sidebar-background-container::-webkit-scrollbar {
width: 17px;
}
.global-styles,
.es-layout-sidebar-background-container::-webkit-scrollbar-track {
background: var(--scroll-track-color);
}
.global-styles,
.es-layout-sidebar-background-container::-webkit-scrollbar-thumb {
background: var(--scroll-thumb-color);
border-radius: 10px;
border: 4px solid var(--scroll-track-color);
}
.global-styles,
.es-layout-sidebar-background-container::-webkit-scrollbar-thumb:hover {
background: var(--scroll-thumb-color-hover);
}
The colors are set here
Thanks for the update - the CSS works
Perfect, you’re very welcome