By Fagault Eric on Wednesday, 25 January 2017
Posted in General Issues
Replies 5
Likes 0
Views 211
Votes 0
Hello,
I use a Text field in the registration form to put a title on a form part.
I wanted to know if there was the possibility of assigning a CSS class to the field?
Best regards.
Eric
Hello Eric,

It's not possible to add a custom prefix but because we already added a lot of details on the custom fields, you could style it accordingly. Let me give you an example,

Assuming that you want to alter the design of the gender field as you can see from my screen shot here, http://take.ms/bHw40 . There is a data attribute with the field id appended to it. So one could add a code like this, to style the entire row,

[gist]
body [data-field-1621] {
background: #000;
}
[/gist]
·
Wednesday, 25 January 2017 00:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Good evening,
Thank you for your prompt response.
Do I have to change like that?


http://www.web-libertins.com/images/tests/Style%20field.png
·
Wednesday, 25 January 2017 01:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, are you trying to modify the header field or a text field?
·
Wednesday, 25 January 2017 01:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Finally, I use a Header field which allows me to intervene on its CSS
·
Wednesday, 25 January 2017 01:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Eric, glad that your issues are resolved now
·
Wednesday, 25 January 2017 12:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post