Home › Forums › Bug Reports › acf_register_block default align › Reply To: acf_register_block default align
To be able to use full and wide align, you must run a theme that supports it, this requires the theme to set an option and add some CSS.
Twentynineteen supports this, but if you’re running your own theme you can add support for it yourself. How to do this is written in this article.
Now about the bit of code you sent, setting
'align' => 'full' should be correct and set the default alignment to full. Maybe try recreating your block to see if it’s set to full then?
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’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.