2.5 clean theme issues with low resolutions

2.5 clean theme issues with low resolutions

Sebastian Henze -
回帖数:3

Hello,

since updating to 2.5 I switched to the new clean theme because it is responsive. But there are issues with front page and navigation items (see screenshot). The Background doesn't scale correctly and the intro text is cut off.

Can I repair this somehow or is this a known bug?

 

Thanks for the time.

附件 Unbenannt.jpg
回复Sebastian Henze

Re: 2.5 clean theme issues with low resolutions

David Scotson -
I think this is a known bug, that got recently introduced:

https://tracker.moodle.org/browse/MDL-40722
回复David Scotson

Re: 2.5 clean theme issues with low resolutions

Sebastian Henze -

Thanks for the link! There was a workaround mentioned in this JIRA ticket and that works. If all blocks are on the right side, the error doesn't occur.

Is there an easier way to move all blocks from left to right except on every single page individually?

回复Sebastian Henze

Re: 2.5 clean theme issues with low resolutions

Mary Evans -

Yes...you can do this in clean/config.php by changing the THEME->layouts whic look like this...

For example:

Just make sure the file is column2.php and the regions are  'side-post' as I have shown the example below:

$THEME->layouts = array(
    // Most backwards compatible layout without the blocks - this is the layout used by default
    'base' => array(
        'file' => 'column1.php',
        'regions' => array(),
    ),
    // Standard layout with blocks, this is recommended for most pages with default information
    'standard' => array(
        'file' => 'column2.php',
        'regions' => array('side-post'),
        'defaultregion' => 'side-post',
    ),
    // Main course page
    'course' => array(
        'file' => 'column2.php',
        'regions' => array('side-post'),
        'defaultregion' => 'side-post',
        'options' => array('langmenu'=>true),
    ),
etc...etc...