Changing colour palette

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
kanklovitch
Veteran Member
Posts: 159
Joined: 2019-02-03 17:26

Changing colour palette

Post by kanklovitch » 2020-04-12 20:37

Hi fantastic Super Heros
Is there a way to change the button colours to what ever I want. I will be doing an application and the standard colours don't seem appropriate.

Thanks very much
Attachments
Colours.jpg
Colours.jpg (29.16 KiB) Viewed 24435 times

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Changing colour palette

Post by pbottcher » 2020-04-13 08:56

Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

kanklovitch
Veteran Member
Posts: 159
Joined: 2019-02-03 17:26

Re: Changing colour palette

Post by kanklovitch » 2020-04-13 12:34

Thanks very much, I will see what I can learn.

User avatar
baudwalker
Veteran Member
Posts: 188
Joined: 2015-02-03 08:08
Location: Bellingen NSW Australia

Re: Changing colour palette

Post by baudwalker » 2020-04-14 04:06

In the app root you will find "home.php" find

Code: Select all

Classes of first and other blocks
		---------------------------------
		For possible classes, refer to the Bootstrap grid columns, panels and buttons documentation:
			Grid columns: http://getbootstrap.com/css/#grid
			Panels: http://getbootstrap.com/components/#panels
			Buttons: http://getbootstrap.com/css/#buttons
	*/
	$block_classes = array(
		'first' => array(
			'grid_column' => 'col-md-6 col-lg-4',
			'panel' => 'panel-warning',
			'link' => 'btn-warning'
		),
		'other' => array(
			'grid_column' => 'col-md-6 col-lg-4',
			'panel' => 'panel-info',
			'link' => 'btn-info'
		)
	);
this shows you how to change the first and all the others. I have not tried to change individual panels as yet.

Post Reply