The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Not possibile to add style to custom field in comment list
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
How-to and Troubleshooting
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
May 27, 2020 1:41 pm
(@oloccina)
Active Member
Joined: 6 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
Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
May 27, 2020 1:46 pm
(@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.
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
May 27, 2020 2:08 pm
(@oloccina)
Active Member
Joined: 6 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