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:
When saving in Customizer, it will generate this customizer.css:
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;
}
In Themes
Share this post:
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »