Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hide_label() has no effect for fields in media library #105

Open
HPiirainen opened this issue Feb 5, 2021 · 0 comments
Open

hide_label() has no effect for fields in media library #105

HPiirainen opened this issue Feb 5, 2021 · 0 comments

Comments

@HPiirainen
Copy link
Contributor

When registering fields for attachments, hide_label() has no effect. The resulting CSS for hiding the label is

div.acf-field.acf-field-{field-key} > div.acf-label > label { display: none; }

but the media library meta fields use table markup. div.acf-label could be changed to .acf-label to target all elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant