Home › Forums › Bug Reports › Setting default alignment and disabling the toolbar does not work › Reply To: Setting default alignment and disabling the toolbar does not work
Did anyone fix this issue?
I’ve tried to add custom CSS to the admin panel:
.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],
.block-editor-block-list__layout .block-editor-block-list__block[data-type^="acf/"],
@media (min-width: 600px)
margin-left: -45px
margin-right: -45px
.block-editor-block-list__block-edit
@media (min-width: 600px)
margin-left: -44px
margin-right: -44px
It worked, but Gutenberg still doesn’t understand that this block has a full width, so part of its interface is hidden. It feels too hacky to me. I wish it would work out of the box.
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.