UX: banner headline should not be an H1
This commit is contained in:
parent
68629b43f3
commit
43edf5dec1
|
|
@ -60,7 +60,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
.custom-search-banner-headline {
|
||||||
|
font-family: var(--heading-font-family);
|
||||||
|
font-size: var(--font-up-5);
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,9 @@ export default class SearchBanner extends Component {
|
||||||
{{willDestroy this.willDestroy}}
|
{{willDestroy this.willDestroy}}
|
||||||
>
|
>
|
||||||
<div class="wrap custom-search-banner-wrap welcome-banner__wrap">
|
<div class="wrap custom-search-banner-wrap welcome-banner__wrap">
|
||||||
<h1>{{htmlSafe (i18n (themePrefix "search_banner.headline"))}}</h1>
|
<div class="custom-search-banner-headline">
|
||||||
|
{{htmlSafe (i18n (themePrefix "search_banner.headline"))}}
|
||||||
|
</div>
|
||||||
<PluginOutlet @name="search-banner-below-headline" />
|
<PluginOutlet @name="search-banner-below-headline" />
|
||||||
<p>{{htmlSafe (i18n (themePrefix "search_banner.subhead"))}}</p>
|
<p>{{htmlSafe (i18n (themePrefix "search_banner.subhead"))}}</p>
|
||||||
<div class="search-menu welcome-banner__search-menu">
|
<div class="search-menu welcome-banner__search-menu">
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
> h1,
|
> .custom-search-banner-headline,
|
||||||
> p {
|
> p {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue