Theme with expanding front page

Theme with expanding front page

von Simon Hanmer -
Anzahl Antworten: 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?
Als Antwort auf Simon Hanmer

Re: Theme with expanding front page

von Richard Oelmann -
Nutzerbild von Core developers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Plugin developers Nutzerbild von Testers

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

Als Antwort auf Richard Oelmann

Re: Theme with expanding front page

von 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...

Als Antwort auf Simon Hanmer

Re: Theme with expanding front page

von Mary Evans -
Nutzerbild von Core developers Nutzerbild von Documentation writers Nutzerbild von Peer reviewers Nutzerbild von Plugin developers Nutzerbild von 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/

.