From 1f6428fdf3483b7419a82b73f7ccb3ed8bf96631 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Thu, 20 Feb 2020 21:47:49 +0000 Subject: [PATCH] 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 d7d6c95777dc58c0a1b8b693b11713d87feb8aaa) --- .../install/block.block.umami_page_title.yml | 9 ++++++++- .../config/install/views.view.frontpage.yml | 17 ++++++++++++++++- .../umami/css/components/views/frontpage.css | 15 +++++++-------- 3 files changed, 31 insertions(+), 10 deletions(-) diff --git a/core/profiles/demo_umami/config/install/block.block.umami_page_title.yml b/core/profiles/demo_umami/config/install/block.block.umami_page_title.yml index 174a592d752..4266f111ab5 100644 --- a/core/profiles/demo_umami/config/install/block.block.umami_page_title.yml +++ b/core/profiles/demo_umami/config/install/block.block.umami_page_title.yml @@ -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: '' + negate: true + context_mapping: { } diff --git a/core/profiles/demo_umami/config/install/views.view.frontpage.yml b/core/profiles/demo_umami/config/install/views.view.frontpage.yml index 5ce9aaf5076..86397d039a5 100644 --- a/core/profiles/demo_umami/config/install/views.view.frontpage.yml +++ b/core/profiles/demo_umami/config/install/views.view.frontpage.yml @@ -287,7 +287,7 @@ display: empty: false tokenize: false content: - value: '

Explore recipes across every type of occasion, ingredient, and skill level.

' + value: '

Explore recipes across every type of occasion, ingredient, and skill level.

' 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: '

Explore recipes across every type of occasion, ingredient, and skill level

' + format: full_html + plugin_id: text rendering_language: '***LANGUAGE_language_interface***' display_plugin: page display_title: Page diff --git a/core/profiles/demo_umami/themes/umami/css/components/views/frontpage.css b/core/profiles/demo_umami/themes/umami/css/components/views/frontpage.css index 9e45137859f..3768e9d25ca 100644 --- a/core/profiles/demo_umami/themes/umami/css/components/views/frontpage.css +++ b/core/profiles/demo_umami/themes/umami/css/components/views/frontpage.css @@ -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; } }