I want to set a default number of columns for the gallery block within the theme.json-file. Is that possible? I couldn't find anything regarding this.

I tried some things under settings

"blocks": {
   "core/gallery": {
         "layout": {

but I'm not sure if that is the right place and what you'd have to put there.

Thanks for your help!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.