Styles: Add helper class to hide page title on pages in main menu

This commit is contained in:
Kelly Dwan 2024-08-29 18:22:37 -04:00
parent 8df86334e3
commit 4e06badef3
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D
2 changed files with 32 additions and 0 deletions

View file

@ -19,6 +19,13 @@
--wp--custom--form--border--width: 0;
}
/* Hide the post title on search pages, or if it is in the main navigation. */
body.search .wp-block-wporg-local-navigation-bar .wp-block-post-title,
body.is-page-in-menu .wp-block-wporg-local-navigation-bar .wp-block-post-title {
display: none;
}
/* Style the group blocks inside a template list. */
.wp-block-post:where(li.type-5ftf_pledge) {
> .wp-block-group {