folbert / fewbricks

Write code to create ACF field groups, fields and re-usable modules.
https://fewbricks2.folbert.com
GNU General Public License v3.0
124 stars 12 forks source link

Seems like `label_placement` setting is ignored #30

Closed zackphilipps closed 7 years ago

zackphilipps commented 7 years ago

Can't seem to make the labels top aligned or change the width of the fields...

See: http://jmp.sh/Oa8ZjCd

Thoughts?

zackphilipps commented 7 years ago

For others experiencing this issue, this was only a problem on flexible content layouts. It was resolved by adding $layout->set_setting( 'display', 'block' ); like so:

$l = new layout( 'Layout', 'layout', '123456789a' );
$l->set_setting( 'display', 'block' );