Home › Forums › Feature Requests › Field label – Show/hide option › Reply To: Field label – Show/hide option
Just to say thanks to @James for pointing this hook. Its Jan, 2021 now…
WP 5.6, ACF PRO 5.9.3
ACF pro stopped showing the keys… with “display:none”.
I went a little further, but this is the idea:
function my_acf_admin_head() {
?>
<style type="text/css">
#acf-field-group-fields .li-field-key {
display: block;
width: 15%;
}
#acf-field-group-fields .li-field-type {
width: 10%;
}
#acf-field-group-fields .li-field-name {
width: 20%;
}
</style>
<?php
}
add_action('acf/input/admin_head', 'my_acf_admin_head');
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.