Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
To only affect the home page, add this to the bottom of the stylesheet
.home #content{
margin: 0;
}
and perhaps this one too
.home .singular #content, .home .left-sidebar.singular #content {
margin: 0;
}
D M
(@eloquentbohemian)
Best to make a Child Theme, because when the Twenty Eleven theme is automatically updated, as it usually is when WordPress is, everything you have altered will be lost.
In that Child Theme will go:
.home #content {
margin: 0;
width: 100%;
}
This will only alter the width of the content within the default Home Page.
There may other elements inside the content which may have to be altered in your theme’s .css.