Tagged: color picker
Hi!
Is it possible to disable the color picker in General Styling? I mean, the automatic color selection popup.
I find it annoying and it remains on screen when you change fields with tab key.
Besides, I don’t want the imposed hex color fix, which purpose is still a mystery for me.
The “Iris Picker” used in ALB does not fix hex values, but it also sticks on screen.
Thanks!
Hey mmagnani,
Please try adding this at the very end of your themes / child themes functions.php file:
/* Disable color picker */
function admin_head_mod() {
echo '<style type="text/css">.colorpicker{display:none!important;}</style>';}
add_action('admin_head', 'admin_head_mod');
Please note this will disable the color picker in all the admin pages. There is no easy way to disable it only for one section at the moment.
Best regards,
Vinay