You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm tying to define a class for some controls, so I can style then, but I think Kirki is not working with default 'input_attrs' parameters to define the control class, it's right?
wow, to be honest I didn't even know about input_attrs.
I have a generic control that you can use until I implement this one... Won't be long, I'll try to get it done in the weekend.
In the meantime here's how you can do it with the existing implementation:
This will basically create this: <input type="text" class="my-custom-class" data-foo="bar" placeholder="something">
So you can put anything in there... 👍
Issue description:
Hi, I'm tying to define a class for some controls, so I can style then, but I think Kirki is not working with default 'input_attrs' parameters to define the control class, it's right?
Version used:
2.3.5
Using theme_mods or options?
theme_mods
Code to reproduce the issue (config + field(s))
Here's the customizer api example: https://developer.wordpress.org/themes/advanced-topics/customizer-api/#controls
The text was updated successfully, but these errors were encountered: