Please confirm, by testing saving Second in Customizer!

When using a customizer.json with basic settings, meaning body background-color and color, those values are saved twice in customizer.css

T.ex. this basic customizer.json:
{
"general": {
"title": "text_general_title",
"description": "text_general_description",
"control": {
"sitename": {
"selector": "#logo a"
}
}
},
"colors": {
"title": "text_colors_title",
"description": "text_colors_description",
"control": {
"container_background-color": {
"type": "color",
"label": "text_colors_container_background_label",
"default": "#bdc3c7",
"selector": "body"
},
"container-color_color": {
"type": "color",
"label": "text_colors_container_color_label",
"default": "#666666",
"selector": "body"
}
}
},
"images": {
"title": "text_images_title",
"description": "text_images_description",
"control": {
"logo": {
"selector": "#logo a img"
}
}
}
}


When saving in Customizer, it will generate this customizer.css:
 body { 
font-family : inherit;
}

body {
width : 100%;
}

body {
background-color : #bdc3c7;
}

body {
background-color : #bdc3c7;
}

body {
color : #666666;
}

body {
color : #666666;
}
Attachments:
In Themes
Wednesday, October 04 2017, 08:53 PM
Share this post:

Accepted Answer

Friday, October 20 2017, 08:15 PM - #Permalink
The reply is currently minimized Show
Responses (0)
  • There are no replies here yet.
Your Reply