Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Color picker is gone

Discussion in 'Misc WordPress Requests' started by nablafire, Nov 17, 2017.

  1. nablafire

    Guest

    Reply To: Color picker is gone, by nablafire

    I’ve come up with some CSS which overrides display:none on the customizer color pickers. I am not sure if display:none is an error, or if this is the intended behavior. This CSS should do the job for now. Add this to one of your CSS files and enqueue the file in functions.php and you should be good to go.

    /**
    * WordPress 4.9
    *
    * Override: display:none for color pickers;
    */

    .wp-picker-container > .wp-color-result{
    display: inline-block;
    height: 22px;
    min-width: 32px;
    border: 1px #ccc solid;
    }

    .wp-color-picker {
    display: inline !important;
    }

    .wp-picker-default {
    display: inline !important;
    float: right;
    margin: 0;
    }

    Reply To: Color picker is gone
     
    #1

Share This Page

Web Hosting