diff --git a/lms/static/sass/views/_program-marketing-page.scss b/lms/static/sass/views/_program-marketing-page.scss index b60cf3fd50..6e8149d151 100644 --- a/lms/static/sass/views/_program-marketing-page.scss +++ b/lms/static/sass/views/_program-marketing-page.scss @@ -3,6 +3,7 @@ .program_title { font-weight: bold; + margin-top: $baseline } .logo { @@ -23,10 +24,12 @@ .main-banner { color: white; margin-bottom: 1px; + background-size: cover; + background-repeat: no-repeat; + background-position: center; .authoring-org-logo { background-color: $white; - margin-bottom: $baseline; } .btn { @@ -34,7 +37,6 @@ } .btn, - .authoring-org-logo, h1, h2, a { @@ -48,6 +50,7 @@ button { background-color: transparent; + color: $white } iframe { diff --git a/lms/templates/courseware/program_marketing.html b/lms/templates/courseware/program_marketing.html index d5c8ffd955..7fbc53dd39 100644 --- a/lms/templates/courseware/program_marketing.html +++ b/lms/templates/courseware/program_marketing.html @@ -44,7 +44,7 @@ expected_learning_items = program['expected_learning_items'] authoring_organizations = program['authoring_organizations'] min_hours_effort_per_week = program['min_hours_effort_per_week'] max_hours_effort_per_week = program['max_hours_effort_per_week'] -video_url = program.get('video', {}).get('src', '') +video_url = program['video'].get('src') if program['video'] else '' banner_image = program.get('banner_image', {}).get('large', {}).get('url', '') %> @@ -54,7 +54,7 @@ banner_image = program.get('banner_image', {}).get('large', {}).get('url', '') <%block name="pagetitle">${program['title']}%block>