Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Example of the front page of Twenty Twenty theme not using cover template #501
Here is an example of Twenty Twenty theme not using the cover template but the default page template.
Notice the big Front page title and how much space it takes up. The standard page content using a Gutenberg paragraph and an image float has very little space below.
A new suggestion. After some CSS modifications are added
It makes the Front page title smaller. It takes up less space below the header. Gutenberg content is wider.
With the default background colors, the entry header has a bottom padding with the white background ("Header & Footer Background Color"), and the entry content has a top padding with the beige background color ("Background Color").
I think it would be a good idea to add a body class when those background color settings are set to the same color, and modify the spacing accordingly. In this scenario, that would mean removing the top padding of the entry content, bringing them closer together (similar to the spacing in the modified image you posted).
There's an issue with Image Blocks with the left and right alignment not being positioned correctly. They should be positioned to the left or right of the entry content column, like in the screenshot below. I'll create a separate issue for that.
As for the
After a discussion in the WordPress design slack, we decided that it would be a good idea to add a class to the
Assigning the adding of the body class to @aristath. I can modify the CSS when the class is in place.