Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/webguyjeff/layout-container/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A flexible container block that allows you to control content width independently of your theme.
✨ Features
- Full-width container block for flexible layouts
- Control inner content width independently of theme constraints
- Maintain consistent narrow, wide, and full-width layouts across pages
- Works seamlessly within the Gutenberg block editor
- Lightweight and focused on layout control
📦 Installation
WordPress
- Upload the plugin to
/wp-content/plugins/ - Activate the plugin via the WordPress admin
- Open the block editor to access the Layout Container block
🚀 Usage
WordPress
- Insert the Layout Container block into your content
- Choose a layout style (e.g. full, wide, constrained)
- Add inner blocks and control their width independently
Use cases:
- Creating full-width sections with controlled inner content
- Maintaining consistent spacing across different page sections
- Overriding restrictive theme layout settings
⚙️ Configuration
- Configure layout options directly within the block settings
- Adjust container width and inner content width
- No global configuration required
🧱 Blocks / Components
- Layout Container Block — a wrapper block for controlling layout and width behaviour
🎨 Styling (if applicable)
- Inherits styles from the active theme
- Adds layout control without enforcing visual design
- Fully customisable via CSS
📸 Screenshots
Add screenshots showing:
- Block editor with Layout Container
- Full-width section with constrained inner content
- Different width configurations
🛣 Roadmap
- [ ] Preset layout options
- [ ] Advanced spacing controls
- [ ] Nested container support improvements
- [ ] Add alignment options
🤝 Contributing
Contributions, issues, and feature requests are welcome.
If you’d like to contribute:
- Fork the repo
- Create a feature branch
- Submit a pull request
🐛 Issues
If you find a bug, please open an issue with:
- Steps to reproduce
- Expected behaviour
- Screenshots (if relevant)
📄 License
This project is licensed under the GNU General Public License v3.0.
👤 Author
Built and maintained by webguyjeff