Home > Forum > User Voice > Custom css classes for input fields

Custom css classes for input fields
4

MVP

I think it would be useful to have the ability to apply custom css classes to input fields. With the current styling options there is no way to style the "inside" of the input controls.

The last image is what I'd expect to be able to do, the first 3 images are what is currently possible with out-of-the-box functionality.

If that is already possible I'd be happy to know how without having to target precise css classes, data attributes etc.

MVP

Hi Martin

Daniel Krüger shows how to implement uniform button styling in this post:
https://daniels-notes.de/posts/2021/path-button-styling

The same approach could also be used for fields.

However, i would prefer having to possibility to add custom css classes to field name/value in addition to the current field name/value style option as you propose
To be consistent, the custom css classes option should also be added to button style of the path.

In conjunction with the global css styles it would be a huge benefit.

MVP
In reply to: Markus Jenni

Global css styles definable in the theme is one thing i'm waiting for a long time.
https://community.webcon.com/forum/thread/41/15

It would be the icing of the cake.

Actually I would prefer a simple bread over a cake in this case. The one thing theming is good for is creating problems, especially if you don't have full control over the website. :)

But this is beside the topic and only a personal opinion. :)