Hello @boutzamat!
It is possible to add a CSS class to the field under Appearance tab: https://wpde.sk/po/00veao5vutwv.png
Is this what you were looking for?
Hello 🙂
Yes i saw that, but it is not what i am looking for.
What is added here, is the input wrappers class, not the input itself.
In the array, the key is called “input_class” and you are using the “class” key to add the class.
Check this picture:
https://ibb.co/gFHWqT
Red arrow – your class
Blue arrow – prefered additional class
Oh, I see. The plugin does not currently offer such functionality, but I think it is a good idea. I will let my team know thare there is a demand of such feature in the plugin.
If we decide to implement such feature, I will let you know in this thread.
You can also add a CSS class to a field using some jQuery code.
Hi.
It should be very easy 🙂 – the array key for the field options is named “input_class”.
Thank you very much for the great support.
Yes im aware of jQuery solutions, but i prefer classes to get rendered with the code itself, to prevent slow load times, and flash of unstyled content. It’s a general opinion i have on web development 🙂