The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Not possibile to ad...
 
Share:
Notifications
Clear all

Not possibile to add style to custom field in comment list

3 Posts
2 Users
0 Reactions
1,629 Views
Posts: 10
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
(@oloccina)
Active Member
Joined: 6 years ago
[#160]

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: 509
 Tom
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
(@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
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
(@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


Reply
Share: