Problem with default values
-
Hello, first I want to thank you for having this plugin, it is great.
I have noticed a small problem, I created several options in the customizer, if I click on the “Reset” button all my options return to their default value but the problem is for the options or I use an css output, the values ??are in the front end.
For example, for my header, I put an option to change the height, the default value is “74”, if I change this value to “100”, kirki adds the css to the front end (which is normal) but when I reset the default value by clicking the reset button, the value “74” is displayed in front end, which is totally unnecessary since it is the default value of the header so it adds css to the front end for nothing.
I have this problem with all css outputs like color control, spacing, etc.
When the value of a control is reset to its default value, this should not add css to the front end.I have the latest version of WordPress and the 2.3.7 of Kirki.
I hope you will be able to help me and have understood my problem, otherwise I will try to explain better.
Thank you a lot ??
- The topic ‘Problem with default values’ is closed to new replies.