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 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.