Skip to content

Instantly share code, notes, and snippets.

@csalzano
Created April 9, 2024 02:50
Show Gist options
  • Save csalzano/a7c443f7a89b79d78777057c8dd267de to your computer and use it in GitHub Desktop.
Save csalzano/a7c443f7a89b79d78777057c8dd267de to your computer and use it in GitHub Desktop.
How to make a Twenty Twenty Four child theme with wider content areas
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"settings": {
"layout": {
"contentSize": "1180px",
"wideSize": "1280px"
}
}
}
@csalzano
Copy link
Author

csalzano commented Apr 9, 2024

  1. Make a child theme with its own theme.json.
  2. Provide the settings > layout > contentSize and wideSize dimensions of your choosing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment