I currently have my LMS set up with Moodle 4 and the boost theme which is based on bootstrap (github)
However, the default page layout appears very narrow on all devices and I would like to utilize the responsive design features of Bootstrap for different screen sizes (.container)
I attempted to adjust the page width using raw SCSS code in the custom CSS field as shown below:
/* Page Width */
@media screen and (max-width: 575px) { $course-content-maxwidth: 100% !default; }
@media screen and (min-width: 576px) and (max-width: 767px) { $course-content-maxwidth: 540px !default; }
@media screen and (min-width: 768px) and (max-width: 991px) { $course-content-maxwidth: 720px !default; }
@media screen and (min-width: 992px) and (max-width: 1199px) { $course-content-maxwidth: 960px !default; }
@media screen and (min-width: 1200px) and (max-width: 1399px) { $course-content-maxwidth: 1140px !default; }
@media screen and (min-width: 1400px) { $course-content-maxwidth: 1320px !default; }
Using either
$course-content-maxwidth: 100% !default;
or
$course-content-maxwidth: 1320px !default;
works individually, but not in combination with the media queries above.
Any suggestions on how I can make them work together effectively?