-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
The label should appear above the hidden control, not inside. I manage to fix this inside the javascript file, but there should be a better fix or?
/**
* Initialization trigger.
*/
jQuery( document ).ready( function( $ ) {
// Loop over each control and transform it into our color picker.
$( '.alpha-color-control' ).each( function() {
// Move title & notification into visible position
var $parent = $(this).closest('li.customize-control-alpha-color');
$parent.find('div.customize-control-notifications-container').prependTo($parent);
$parent.find('span.customize-control-title').prependTo($parent);
// Scope the vars....
leendertvb, willgorham and blisstterrylinooo
Metadata
Metadata
Assignees
Labels
No labels