WordPress Twenty Seventeen customize Home Page Width

WordPress Twenty Seventeen customize Home Page Width

The Twenty Seventeen template from WordPress is not a bad template, if it weren’t for the enormous waste of space on the home page. If you want to increase the content area on the right side and thus reduce the left column with the post or page title should help you this little code snippet.

Just add the code as additional CSS in the template customizer. The percentage value under width can of course be adjusted.

.fix:not(.has-sidebar) #primary article,
	.archive:not(.page-one-column):not(.has-sidebar) #primary article,
	.search:not(.has-sidebar) #primary article,
	.error404:not(.has-sidebar) #primary .page-content,
	.error404.has-sidebar #primary .page-content,
	body.page-two-column:not(.archive) #primary .entry-content,
	body.page-two-column #comments {
	width: 100%;
}

Leave a Reply

Your email address will not be published. Required fields are marked *