Description:
When using a custom field in Joomla (e.g., a repeatable field, custom plugin field, or plg_fields_acfarticles), disabling the field label via the "Show Label" option (set to "No") does prevent the text of the label from showing, but Joomla still outputs a
This results in:
A visual bullet being shown on the frontend without any text, even though the label is disabled.
Misaligned output or unwanted indentation, especially when using list-based wrappers (
Expected behavior:
When "Show Label" is set to "No", no field label markup and no list entry or bullet should be rendered. The
Actual behavior:
A li.field-entry container is still present and causes a default list-style bullet to appear, even though the label is hidden. This requires additional CSS overrides to remove it manually:
css
Edit
li.field-entry.related-services_en {
list-style: none !important;
padding-left: 0 !important;
margin-left: 0 !important;
}
Tested with:
Joomla! 5.3.2 (Gantry 5 template)
PHP 8.2
No third-party content overrides
Steps to reproduce:
Create a custom field (e.g., Articles - ACF Articles or Text).
Assign it to an article.
Set Show Label = No.
Load the article on the frontend.
Inspect the output HTML – an empty
Impact:
This affects layout consistency and forces users to write custom CSS for each field to avoid unwanted visual artifacts. It also goes against the intuitive expectation that disabling a label will remove all label-related output.
Labels |
Added:
No Code Attached Yet
|
that is not a real solution because it will then block the list style for all and not for only this one, i tried to block it with the specific fieldname still the problem is that there will be white space there where the 'bullet' was and no way to render it to the left, tried every possible css code here
I would expect these fields to react as 'text' not as a list. maybe the content of the field can be a list, or make it select-able to show or remove the 'list view'
so maybe i just don't understand the logic
In this case I recommend to make a template override. Template overrides are a great feature which allow you to style every single field exactly as you want.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-07-25 20:41:33 |
Closed_By | ⇒ | chmst |
Closing this as it is not a Joomla bug but an individual design.
The label is independet from the list style and the list-style is for the unordered list as whole not for the list-item.
When there are several fields in an article, it makes sense to have bullets.
You can suppress the bullet (on Cassiopeia, no clue if it works in Gantry)