Issue #2994915 by sysosmaster, kjay, bruceyboy, anthonylindsay, benjamindamron, BrightBold, imalabya, shashikant_chauhan, Yaremchuk, bowen111, quaxi, Gayathri J, Gnanasampandan Velmurgan, JayKandari, michaellenahan, mradcliffe, andrewmacpherson, shaal, philippze: Remove Page Title block from homepage

(cherry picked from commit d7d6c95777)
merge-requests/64/head
Alex Pott 2020-02-20 21:47:49 +00:00
parent d251008c0d
commit 1f6428fdf3
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
3 changed files with 31 additions and 10 deletions

View File

@ -1,6 +1,8 @@
langcode: en
status: true
dependencies:
module:
- system
theme:
- umami
id: umami_page_title
@ -14,4 +16,9 @@ settings:
label: 'Page title'
provider: core
label_display: '0'
visibility: { }
visibility:
request_path:
id: request_path
pages: '<front>'
negate: true
context_mapping: { }

View File

@ -287,7 +287,7 @@ display:
empty: false
tokenize: false
content:
value: '<h2 class="text-align-center">Explore recipes across every type of occasion, ingredient, and skill level.</h2>'
value: '<p class="text-align-center">Explore recipes across every type of occasion, ingredient, and skill level.</p>'
format: full_html
plugin_id: text
footer: { }
@ -354,6 +354,21 @@ display:
css_class: grid--2
defaults:
css_class: false
header: false
header:
area:
id: area
table: views
field: area
relationship: none
group_type: group
admin_label: ''
empty: false
tokenize: false
content:
value: '<p class="text-align-center">Explore recipes across every type of occasion, ingredient, and skill level</p>'
format: full_html
plugin_id: text
rendering_language: '***LANGUAGE_language_interface***'
display_plugin: page
display_title: Page

View File

@ -4,20 +4,19 @@
*/
.view-frontpage .view-header {
margin-top: 2rem;
margin-bottom: 2rem;
padding: 0 1.266rem;
font-family: "Scope One", Georgia, serif;
font-size: 1.5rem;
line-height: 1.2;
}
@media screen and (min-width: 30em) {
/* Large */
@media screen and (min-width: 60em) { /* 960px */
.view-frontpage .view-header {
margin-bottom: 3rem;
}
}
@media screen and (min-width: 60em) {
.view-frontpage .view-header {
margin-bottom: 4rem;
padding-right: 2.37rem;
padding-left: 2.37rem;
font-size: 1.77rem;
}
}