diff --git a/lms/static/sass/multicourse/_course_about.scss b/lms/static/sass/multicourse/_course_about.scss
index 629b3065778e..a8a34ccec589 100644
--- a/lms/static/sass/multicourse/_course_about.scss
+++ b/lms/static/sass/multicourse/_course_about.scss
@@ -44,6 +44,11 @@
> div.table {
display: table;
width: 100%;
+
+ @include media-breakpoint-down(sm) {
+ display: flex;
+ flex-direction: column;
+ }
}
.intro {
@@ -51,6 +56,11 @@
@include clearfix();
+ @include media-breakpoint-down(sm) {
+ width: auto;
+ order: 2;
+ }
+
display: table-cell;
vertical-align: middle;
padding: $baseline;
@@ -127,6 +137,10 @@
a.add-to-cart {
@include button(shiny, $button-color);
+ @include media-breakpoint-down(md) {
+ width: 100%;
+ }
+
box-sizing: border-box;
border-radius: 3px;
display: block;
@@ -189,6 +203,11 @@
@include float(left);
@include margin(1px, flex-gutter(8), 0, 0);
@include transition(none);
+ @include media-breakpoint-down(md) {
+ width: 100%;
+ margin-right: 0;
+ margin-bottom: 10px;
+ }
width: flex-grid(5, 8);
}
@@ -213,6 +232,11 @@
width: flex-grid(4);
z-index: 2;
+ @include media-breakpoint-down(sm) {
+ width: auto;
+ order: 1;
+ }
+
.hero {
border: 1px solid $border-color-3;
height: 100%;
diff --git a/lms/templates/courseware/course_about.html b/lms/templates/courseware/course_about.html
index 91d7a2a28e57..2a0108c33444 100644
--- a/lms/templates/courseware/course_about.html
+++ b/lms/templates/courseware/course_about.html
@@ -62,11 +62,10 @@
-
- ${course.display_name_with_default}
-
-
+
${course.display_name_with_default}
${course.display_org_with_default}
+
+
${get_course_about_section(request, course, 'short_description')}
@@ -219,7 +218,6 @@
${_("Prerequisites")}
## Multiple pre-requisite courses are not supported on frontend that's why we are pulling first element
-
${pre_requisite_courses[0]['display']}
${Text(_("You must successfully complete {link_start}{prc_display}{link_end} before you begin this course.")).format(
link_start=HTML('').format(prc_target),
@@ -231,7 +229,11 @@
% endif
% if get_course_about_section(request, course, "prerequisites"):
-
${_("Requirements")}
${get_course_about_section(request, course, "prerequisites")}
+
+
+ ${_("Requirements")}
+ ${get_course_about_section(request, course, "prerequisites")}
+
% endif
%block>