erich.wanker Posted October 16, 2018 Posted October 16, 2018 how can i change the font-color of "emptyText in uniedit" to white ? thanks erich Quote
Sherzod Posted October 16, 2018 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
GerhardV Posted October 16, 2018 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
Ario.Paxaz Posted November 10, 2023 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
Ario.Paxaz Posted November 10, 2023 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
Ario.Paxaz Posted November 10, 2023 Posted November 10, 2023 8 hours ago, Sherzod said: So the issue is resolved? Yes, Thanks. Quote
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.