WordPress plugin to manage custom layout widths in the block editor.
poc-layout-width.mp4
Add the custom settings to your theme.json file:
{
"settings": {
"custom": {
"layoutWidths": {
"widths": {
"x-content": {
"label": "X Content",
"value": "820px"
},
"wide": {
"label": "Wide",
"value": "1280px"
},
"x-wide": {
"label": "X Wide",
"value": "1440px"
},
"full": {
"label": "Full",
"value": "none"
}
},
"labels": {
"fr-FR": {
"x-content": "Contenu large",
"wide": "Large",
"x-wide": "Très large",
"full": "Pleine largeur"
}
}
}
}
}
}