themes-wordpress/varia/inc/style-editor-wpcom.css
Jacopo Tomasone 908d3df766
Full Site Editing / Varia, Maywood: Fix incorrect content positioning when the homepage title is hidden (#1406)
On WPCOM, Varia adds an option, which defaults to true, to hide the page title of the homepage.

* Add the `.hide-homepage-title` class to the block editor body as well.

* Enqueue a new stylesheet on the block editor that hides the homepage title and reposition the Post Content block.

* Restore the header's bottom padding on the front end's homepage when the page title is hidden.
2019-09-25 10:31:11 +02:00

7 lines
No EOL
194 B
CSS

.hide-homepage-title .editor-styles-wrapper .post-content__block .editor-post-title {
display: none;
}
.hide-homepage-title .editor-styles-wrapper .post-content__block {
margin-top: -16px;
}