Home › Forums › Gutenberg › How to allow align wide and full? › Reply To: How to allow align wide and full?
You need to add these options to the “supports” array in your acf_register_block_type() function:
'supports' => array(
'align' => array( 'left', 'right', 'center', 'wide', 'full' ),
),
This can be found in the documentation for the ARBT function
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.