The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Not possibile to ad...
 
Share:
Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Not possibile to add style to custom field in comment list

3 Posts
2 Users
0 Reactions
1,265 Views
Posts: 10
Topic starter
(@oloccina)
Active Member
Joined: 5 years ago

Hello,

It would be useful if each custom field would add a custom css class to use for styling the field itself in the comments list.
While I can add style to the field in the submission form, I don't find a way to do it in comment list without affecting all the custom fields I will create.

see https://www.screencast.com/t/T9e31EkN5fv6

In this specific case, I am using a "number" custom field, and it would also be useful to have the possibility to add text/symbols after the field contents (for example $ or €). As I said, I can probably do this with a ::after element and css, but I would still need a custom css class.

Thank you

 

 

2 Replies
Tom
Posts: 506
 Tom
Support
(@tomson)
Honorable Member
Joined: 10 years ago

Hi @oloccina,

The wpd-cf-text is already a specific CSS class for the text custom field only. So you can use it.

Reply
Posts: 10
Topic starter
(@oloccina)
Active Member
Joined: 5 years ago

Great!
but isn't that class specific for each custom "text" field. What if I create another custom form with another text custom field, my customizations would then be applied to both of them?
I guess I could still specify the css rules with the post ID where each form is published, but it gets a bit complicated.

Thanks again

Reply
Share: