Page 1 of 1

Where things are controlled #1 - button size on home screen

Posted: 2014-10-19 17:54
by shasta59
The size of the buttons on the home screen are controlled by the code found in home.php at lines 14 to 24. It looks like the example below. This will allow you to change the size of the buttons on the default page once logged in. You can see the change I made by way of example.

Code: Select all

$block_classes = array(
		'first' => array(
			'grid_column' => 'col-sm-6 col-md-4 col-lg-3', /*  was 'grid_column' => 'col-sm-12 col-md-8 col-lg-6',*/
			
			'panel' => 'panel-warning',
			'link' => 'btn-warning'
		),
		'other' => array(
			'grid_column' => 'col-sm-6 col-md-4 col-lg-3',
			'panel' => 'panel-info',
			'link' => 'btn-info'
		)
	);
I will post more of these as time goes along if people find these useful. (Remember - always keep a clean version)

Alan

Re: Where things are controlled #1 - button size on home scr

Posted: 2014-10-21 20:53
by KSan
He is back!!!! :-)

Thanks much for the insight. This is very useful.