Hello
Is there a way to change the background color of ToolBar’s Input field?
Thank you
Hello
Is there a way to change the background color of ToolBar’s Input field?
Thank you
Hello
Yes, you can do it applying the next css:
.dhx_toolbar_base_18_dhx_skyblue div.dhx_toolbar_btn .inp, .dhx_toolbar_base_24_dhx_skyblue div.dhx_toolbar_btn .inp, .dhx_toolbar_base_32_dhx_skyblue div.dhx_toolbar_btn .inp, .dhx_toolbar_base_48_dhx_skyblue div.dhx_toolbar_btn .inp {
background-color: some_color;
}
Hmm … happens nothing … what i’m doing wrong?
Thank you in advance
Please, provide me code snippets of initialization of your tabbar (skin, icon size and dhtmlx version).
Got it:
var item = ToolBar.objPull[ToolBar.idPrefix+"field1"].obj.firstChild;
item.style.backgroundColor = "#900";
item.style.color = "#FFF";
item.style.fontWeight = "bold";
item.style.textAlign = "center";
Is this ok or is it a bad way ?
It’s ok. It is the same as i’ve provided you. But i set it in the tag, and you set it by script.
Thank you