Theme with expanding front page

Theme with expanding front page

by Simon Hanmer -
Number of replies: 3
Does anyone know of a theme where if the front page blocks are hidden, the course list expands to fill the browser rather than keeping a space at the side for the blocks?
Average of ratings: -
In reply to Simon Hanmer

Re: Theme with expanding front page

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

If you remove the blocks, then most themes should expand the main content to fill the screen

In reply to Richard Oelmann

Re: Theme with expanding front page

by Simon Hanmer -

Richard,

 thanks for the response - to be honest, I've only looked at one or two so I may have just have picked the exceptions. I'll continue to investigate...

In reply to Simon Hanmer

Re: Theme with expanding front page

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

You need to use Clean or More themes in Moodle 2.7 onwards, as Moodle 2.6 may suffer from some missing CSS for certain layouts.

To be honest Moodle 2.9 has a better fix for most pages which uses Javascript to set the body classes that trigger the content-only layout. Then you get the full page layout as you are wanting.

You can actually make the Frontpage 'all content' by removing the code that adds the blocks if you want. Then by enabling Frontpage Site Topic you can fill that section up with content of your choice, as well as have Site News and Course info, but you would need to know a little about HTML and Bootstrap to do that.

See this post of mine from a few months ago:

https://moodle.org/mod/forum/discuss.php?d=267662

This is how Mary Cooch customised the Demo site.

http://school.demo.moodle.net/

.