Jump to content

How to change UniTreeMenu's background color?


55143681

Recommended Posts

7 hours ago, 55143681 said:

By default,UniTreeMenu's background color is dark,

How to change that to other color?

Hi

in ServerModule CSS file add the flowing CSS

.treemenu .x-treelist, .treemenu .x-treelist-row{
  background-color: #10044a;
}

.treemenu .x-treelist-row-over, .treemenu .x-treelist-nav .x-treelist-item-selected > .x-treelist-row{
  background-color: #40366e !important;
}

.treemenu .x-treelist-item-text, .treemenu .x-treelist-item-icon, .treemenu .x-treelist-item-expander {
  color: #e8dff7;
    font-size: 14px; 
}

 then in your uniTreeMenu> layoutConfig > Cls > treemenu

you can select any colors you want

Regards

  • Like 1
Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...