Skip to content

Labels and notifications invisible fix #20

@jonaslundman

Description

@jonaslundman

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....


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions