Description
DCTC Width Settings controls how wide the content area is on desktop screens:
- Narrow: center the content and leave space on both sides
- Wide: fill the screen, with a small margin
- Custom: use a fixed pixel width, centered
Phones and small tablets are left unchanged. The desktop layout applies only when the window is at least as wide as the breakpoint you set.
If the width does not change after you switch themes, open Settings, then DCTC Width Settings, and edit the container selectors. Separate selectors with commas. Selectors that do not exist on the page are ignored.
Installation
- Upload the zip from Plugins, Add New, Upload Plugin, or extract the
dctc-width-settingsfolder into/wp-content/plugins/. - Activate DCTC Width Settings.
- Open Settings, then DCTC Width Settings.
FAQ
-
Does it still work after a theme change?
-
Yes. Enter the id or class of the theme’s outer content container. Presets are included for classic themes and block themes.
-
Does it affect mobile screens?
-
No. The desktop width is applied only when the window reaches the breakpoint.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“DCTC Width Settings” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “DCTC Width Settings” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.2
- List the WordPress.org account yh6788 as the contributor.
1.1.1
- Match the text domain to the plugin slug dctc-width-settings.
- Write the directory readme in English.
1.1.0
- Configurable container selectors, narrow width, wide gutter, and desktop breakpoint.
- Default selectors cover common classic and block themes.
1.0.0
- Initial release with narrow, wide, and custom widths.
