If you’re using GeneratePress and want to make only the homepage full-width without affecting the rest of your site, you can achieve this easily with a bit of custom CSS and built-in settings. No plugins required.
Why Make a Full-Width Homepage in GeneratePress?
A full-width layout allows your content to stretch across the entire screen, creating a modern, clean design often used for landing pages and portfolios.
Benefits of a Full-Width Homepage:
- Modern Look: Clean design with no sidebars or spacing.
- Better Focus: Ideal for hero sections, call-to-actions, and visuals.
- Consistent Branding: Great for homepages emphasizing minimalism.
✅ Making the homepage full-width while keeping inner pages contained balances style and readability.
Using GeneratePress Layout Settings
GeneratePress includes a built-in layout editor for easy full-width customization.
How to Set Full-Width for the Homepage:
- Go to Pages > All Pages in your WordPress dashboard.
- Click Edit on your homepage.
- In the right sidebar, find the Layout section.
- Set Content Container to Full Width.
- Update the page and check the homepage.
✅ Important: This method only works on a page-based homepage, not dynamic blog feeds.
Applying Custom CSS for More Control
If you need finer control or are using a dynamic homepage, custom CSS can make the homepage full-width while leaving other pages untouched.
How to Add Custom CSS:
- Go to Appearance > Customize > Additional CSS.
- Add the following CSS code:
/* Full-width layout for homepage only */
body.home .site-container {
max-width: 100% !important;
padding: 0 !important;
}
body.home .inside-article {
padding: 0;
}
- Click Publish.
✅ This CSS targets only the homepage (body.home
) and makes the content span the full width.
Removing the Sidebar on the Homepage
If your theme’s sidebar is still showing, you can remove it specifically for the homepage.
Disabling Sidebar for Homepage Only:
- Go to Appearance > Customize > Layout > Sidebars.
- Select No Sidebar for the Homepage Layout.
- Click Publish to save your settings.
✅ This will hide the sidebar only on the homepage while keeping it on other pages.
Making the Header and Footer Full-Width
If you want your header and footer to also span full-width, you can modify them with CSS.
Custom CSS for Full-Width Header and Footer:
/* Full-width header and footer for homepage */
body.home .site-header,
body.home .site-footer {
max-width: 100% !important;
padding: 0;
}
✅ This ensures the header and footer stretch across the entire screen only on the homepage.
Adjusting the Container Width (If Content Feels Too Wide)
If the content feels uncomfortably wide, you can set a maximum width for better readability.
CSS to Control Container Width:
/* Limit full-width content for better readability */
body.home .site-container {
max-width: 1400px !important;
margin: auto;
}
✅ This keeps the homepage wide but prevents excessive stretching on larger screens.
Hiding the Page Title on the Homepage
To create a cleaner homepage layout, you may want to hide the page title without affecting other pages.
CSS for Hiding Page Title:
/* Hide the page title for homepage only */
body.home .entry-title {
display: none;
}
✅ This will hide the page title but leave other headings intact for SEO purposes.
Combining CSS for a Complete Full-Width Homepage
Here’s a complete version combining all the adjustments for a full-width homepage:
/* Full-width layout for GeneratePress homepage only */
body.home .site-container {
max-width: 100% !important;
padding: 0 !important;
}
body.home .inside-article {
padding: 0;
}
body.home .site-header,
body.home .site-footer {
max-width: 100% !important;
padding: 0;
}
body.home .entry-title {
display: none;
}
✅ This setup ensures:
- Full-width content.
- No sidebars.
- Hidden page title.
- Consistent header and footer width.
Using the GeneratePress Block Editor (No CSS Needed)
If you’re using GeneratePress Premium, the Block Editor (Gutenberg) offers full-width controls without custom code.
How to Set Full-Width in the Block Editor:
- Open your homepage using the Block Editor.
- Click the section you want to expand.
- Under Block Settings, find the Width option.
- Select Full Width or Wide Width.
✅ This method works for individual sections and blocks but requires GeneratePress Premium.
Troubleshooting Full-Width Issues in GeneratePress
If your homepage still isn’t full-width:
- Double-check if a page template overrides the CSS.
- Confirm you’re editing the correct page assigned as the homepage under Settings > Reading.
- Clear any caching plugins (like WP Rocket) to ensure CSS changes apply.
✅ If the issue persists, custom CSS might need further adjustments based on your GeneratePress child theme.
Need Help Customizing GeneratePress?
If you’re unsure about custom CSS or want a professional touch for your GeneratePress layout, hiring a certified WordPress expert can ensure pixel-perfect results.
Need Expert Help Customizing GeneratePress?
Work with a certified WordPress developer to create a full-width homepage, customize layouts, and optimize your GeneratePress website for performance.
FAQs About Making a Full-Width Homepage in GeneratePress
Why Should I Make My Homepage Full-Width?
A full-width homepage works great for landing pages, hero sections, and portfolios where visual content needs to stand out. It provides a cleaner, modern design.
Does This Work on the Free Version of GeneratePress?
Yes, you can achieve a full-width homepage on the free version using CSS. However, GeneratePress Premium offers more flexible layout controls directly in the Page Settings.
Can I Make Only Certain Sections Full-Width?
Yes! If you’re using GeneratePress Premium, you can set block-level full-width layouts using the Block Editor without affecting the entire page.
Will Making the Homepage Full-Width Affect SEO?
No, as long as you don’t remove critical headings and content visibility. Ensure the homepage retains essential text content and headings for SEO purposes.
How Do I Revert to the Default Layout?
To revert the full-width changes:
- Remove the CSS added under Appearance > Customize > Additional CSS.
- Adjust the Content Container back to Contained in the page settings.
Can I Remove the Header and Footer for a Minimalist Look?
Yes, you can hide the header and footer using the following CSS:
body.home .site-header,
body.home .site-footer {
display: none;
}
This is great for sales pages or landing pages where minimal distractions are desired.
Is GeneratePress SEO-Friendly?
Yes! GeneratePress is designed for speed, clean code, and SEO optimization. Making your homepage full-width won’t affect your SEO if content remains properly structured.
By following these steps, you can create a stunning, full-width homepage in GeneratePress without a plugin. Whether you’re customizing with CSS or using built-in settings, this guide ensures you maintain control over your website’s design. Need help? Consider hiring a professional for advanced styling!