Increase the width of the content area in RemUI 4.0

The content width in Moodle 4.0  is limited to 800px to improve user readability

To change the width across the site in the Edwiser RemUI theme, please navigate to the following directory on your Moodle installation: theme/remui/layout/common.php. 

In this file add the following line of code at the end and save:

$templatecontext['bodyattributes'] = str_replace("limitedwidth", "innerfullwidth", $templatecontext['bodyattributes']);

Then navigate to Site Admin > Appearance > Themes > Edwiser RemUI > General Settings > Custom CSS and add the following CSS code to the Custom CSS section of the theme:

.innerfullwidth .header-maxwidth, .innerfullwidth .secondary-navigation{ max-width: 100% !important; }

Once completed, make sure you also purge caches on your Moodle site.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us