erich.wanker Posted October 16, 2018 Share Posted October 16, 2018 how can i change the font-color of "emptyText in uniedit" to white ? thanks erich Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 16, 2018 Share Posted October 16, 2018 Hi, You can use emptyCls config for this 1. CustomCSS: .customEmptyCls { color: white; } 2. beforeInit: function beforeInit(sender, config) { config.emptyCls='customEmptyCls'; } 1 Quote Link to comment Share on other sites More sharing options...
GerhardV Posted October 16, 2018 Share Posted October 16, 2018 You can also add the following to CustomCSS for all placeholders: ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */ color: white !important; opacity: 1; /* Firefox */ } :-ms-input-placeholder { /* Internet Explorer 10-11 */ color: white !important; } ::-ms-input-placeholder { /* Microsoft Edge */ color: white !important; } https://www.w3schools.com/howto/howto_css_placeholder.asp 1 Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted November 10, 2023 Share Posted November 10, 2023 On 10/16/2018 at 6:52 PM, Sherzod said: 2. beforeInit: Hello, What event should I use for UnimEdit? Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted November 10, 2023 Share Posted November 10, 2023 1 hour ago, Ario.Paxaz said: What event should I use for UnimEdit? I found it, I should have made these changes too, because my browser was Brave, after putting this code, I saw it. http://forums.unigui.com/index.php?/topic/11445-placeholder-empty-text-chang-color/&do=findComment&comment=60722 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 10, 2023 Share Posted November 10, 2023 Hello, So the issue is resolved? Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted November 10, 2023 Share Posted November 10, 2023 8 hours ago, Sherzod said: So the issue is resolved? Yes, Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.