Best practice forum (Archived)

Changing the width of a block

 
Fiona Powell
Changing the width of a block
by Fiona Powell - Wednesday, 22 August 2012, 2:23 AM
 
Is it possible to change the width of a block on the home page? I currently have a useful docs block and one of the names of the docs goes over the right hand side of the block.
Alan Bradshaw
Re: Changing the width of a block
by Alan Bradshaw - Wednesday, 22 August 2012, 2:50 AM
 

Block widths are set in the file config.php in your theme. Look for the following:

$THEME->block_l_min_width = 180;
$THEME->block_l_max_width = 180;
$THEME->block_r_min_width = 180;
$THEME->block_r_max_width = 180;

/// These values define the min and max width of the left and right
/// sideblocks in the course pages. If not set or false the standard
/// values are taken.