First Table orange color, the rest are blue

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
mgoetze
Posts: 23
Joined: 2014-12-02 06:59

First Table orange color, the rest are blue

Post by mgoetze » 2018-04-23 22:37

Hi All,
I am using the built-in bootstrap theme. For some reason the first table button is orange and all the rest are blue. I can't seem to find the setting to make them all the same color. I'm sure it's right in front of my eyes, but for some reason I dont see it. any help is greatly appreciated.

Mark
Attachments
theme.png
theme.png (42.67 KiB) Viewed 33878 times

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

Re: First Table orange color, the rest are blue

Post by baudwalker » 2018-04-24 02:08

Hi Mark,

this can be changed in the home.php file

at the top of the file you will see the following

********
$block_classes = array(
'first' => array(
'grid_column' => 'col-sm-6 col-md-4 col-lg-3',
'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'
)
);
***********

change the 'first' => array to match the 'other'=> array

Or change it to any Bootstrap button type you like

Barry

mgoetze
Posts: 23
Joined: 2014-12-02 06:59

Re: First Table orange color, the rest are blue

Post by mgoetze » 2018-04-24 03:13

perfect! Thank you Barry

Post Reply