diff --git a/config/install/boulder_base.settings.yml b/config/install/boulder_base.settings.yml index 35492b24..25eaffac 100644 --- a/config/install/boulder_base.settings.yml +++ b/config/install/boulder_base.settings.yml @@ -9,7 +9,7 @@ favicon: use_default: 0 path: /themes/custom/boulder_base/favicon.png mimetype: image/png -ucb_homepage_header: 1 +ucb_homepage_header: 0 ucb_campus_header_color: '1' ucb_header_color: '3' ucb_sidebar_position: right diff --git a/css/ucb-brand-bar.css b/css/ucb-brand-bar.css index 923dab7a..19722439 100644 --- a/css/ucb-brand-bar.css +++ b/css/ucb-brand-bar.css @@ -31,6 +31,10 @@ .ucb-brand-bar img.ucb-logo { max-width: 240px; } + + .ucb-brand-bar img.ucb-logo.ucb-homepage { + max-width: 320px; + } } .ucb-brand-bar .ucb-brand-bar-controls { diff --git a/templates/layout/page.html.twig b/templates/layout/page.html.twig index 064624f0..8483908c 100644 --- a/templates/layout/page.html.twig +++ b/templates/layout/page.html.twig @@ -97,6 +97,12 @@ {% set header_color = 'dark' %} {% endif %} + {% if ucb_homepage_header %} + {% set hompeage_logo_size = "ucb-homepage" %} + {% else %} + {% set hompeage_logo_size = "" %} + {% endif %} + {% if ucb_rave_alerts %} {% endif %} @@ -116,7 +122,7 @@
{{ attach_library('boulder_base/ucb-brand-bar') }}
- +
{# Google Translate #} @@ -157,7 +163,7 @@ {% if site_search.0 %} {% include '@boulder_base/includes/ucb-search-modal.html.twig' %} {% endif %} - {% if ucb_homepage_header %} + {% if not ucb_homepage_header %}