How do I add new layout width options in WordPress editor?

Question

How can I add new custom widths to the block alignment menu?

I have set the two inbuilt ones in my theme.json, but how do I add more? Eg. narrowSize etc.

{
    "settings": {
        "layout": {
            "contentSize": "1200px",
            "wideSize": "1920px"
        }
    }
}
0
user500665 4 weeks 2022-10-31T21:49:50-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse