Hi,
Is it possible to change the sidebar menu item text color with css?
Thanks,
-S
Hi,
Is it possible to change the sidebar menu item text color with css?
Thanks,
-S
Hello @sigipa,
Is it possible to change the sidebar menu item text color with css?
Yes, it is entirely possible to change the text color of the sidebar items. Please take a look at the following example: https://snippet.webix.com/130dp2np.
As you can see, you can refer to the sidebar items with the help of the .webix_tree_item
class. If you also would like to style the sidebar items in the collapsed state, you should refer to the .webix_list_item
CSS class. Please note that I’ve also assigned a custom CSS class to the sidebar component via the css
property, which I then used as a more specific selector.
In general, when it comes to styling the components, I recommend looking at the CSS image maps that we provide in our documentation for every widget. For instance, here is a CSS image map for the sidebar component - https://docs.webix.com/desktop__sidebar_css.html.
Hi,
Perfect! Thanks.
-S