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

Got something cool to share with AppGini users? Feel free to post it here!
Post Reply
User avatar
shasta59
AppGini Super Hero
AppGini Super Hero
Posts: 231
Joined: 2013-01-08 19:40
Location: Calgary, Alberta, Canada

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

Post by shasta59 » 2014-10-19 17:54

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
Calgary, Alberta, Canada - Using Appgini 5.50 -

KSan
AppGini Super Hero
AppGini Super Hero
Posts: 252
Joined: 2013-01-08 20:17

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

Post by KSan » 2014-10-21 20:53

He is back!!!! :-)

Thanks much for the insight. This is very useful.

Post Reply