How to adjust page width in pen news wordpress theme
The Pen News WordPress theme!
To adjust the page width in the Pen News theme, you can try the following methods:
Method 1: Using the Theme Options
- Log in to your WordPress dashboard and navigate to Appearance > Theme Options.
- Scroll down to the Layout section.
- Look for the Container Width option and adjust the value to your desired width (e.g., 1200px, 1000px, etc.).
- Click Save Changes to apply the changes.
Method 2: Using the Customizer
- Log in to your WordPress dashboard and navigate to Appearance > Customize.
- Click on the Layout tab.
- Look for the Container Width option and adjust the value to your desired width (e.g., 1200px, 1000px, etc.).
- Click Publish to apply the changes.
Method 3: Using CSS
-
Log in to your WordPress dashboard and navigate to Appearance > Editor.
-
Click on the style.css file to open it in the editor.
-
Add the following code to the end of the file:
body { max-width: [your desired width]; margin: 0 auto; }
Replace
[your desired width]
with the actual value you want to set (e.g., 1200px, 1000px, etc.). -
Click Update File to save the changes.
Method 4: Using a Page Builder
If you're using a page builder like Elementor, Beaver Builder, or Divi Builder, you can adjust the page width within the page builder settings.
For example, in Elementor, you can go to Settings > Layout and adjust the Container Width option.
Remember to clear your browser cache and refresh the page to see the changes take effect.