In either J3.10 or J4.0.5 create a custom fields. I used a basic 'text' field.
In the Options tab, add a class for 'Field Class' and one for 'Label Class (Form)'.
Create or edit an article and add some text to the field.
View the article on the front end and use the browser's inspector.
The field should be wrapped in a span with the associated class, e.g.
<span class="field-label my-field-class">Field label</span>
<span class="field-value my-label-class">Text of field</span>
<span class="field-label ">Field label</span>
<span class="field-value ">Text of field</span>
Labels |
Added:
No Code Attached Yet
|
Note there is a PR from me to rename the Render Options to Display Options
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-12-28 18:47:10 |
Closed_By | ⇒ | Scrabble96 |
Thank you. That was indeed the issue. Sorry.
Can not replicate