You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 11-06-2014 16:26:57

rsalomone
Contributors
Registered: 22-11-2013
Posts: 101
Website

Tile Question

I see a labelText, labelColor... is there a way to change the labelTextColor for specific tiles?   I need to make a tile with white background and the labelColor makes it go invisible.

rs

Offline

#2 11-06-2014 19:05:18

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Tile Question

Ofcourse that's possible smile

Just add a class to the tile and then use some css

.myClass .tileLabel{
color: #111;
}

Offline

#3 12-06-2014 15:02:07

rsalomone
Contributors
Registered: 22-11-2013
Posts: 101
Website

Re: Tile Question

Works great!  smile

Thanks!


P.S.:   Can I do something similar with the Tile border?   I would like to eliminate the tile border or make it the same color as the tile background?

Last edited by rsalomone (12-06-2014 18:27:01)

Offline

#4 12-06-2014 19:08:30

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Tile Question

Depends on what you call the border. Most tiles don't have borders, but a box-shadow.

.tile {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

Offline

#5 12-06-2014 19:15:15

rsalomone
Contributors
Registered: 22-11-2013
Posts: 101
Website

Re: Tile Question

Thanks again, Thomas!

That works too!

I sometimes have light colors for tiles and the box (shadow) around them looks a bit to dominating.  The above example will fix the problem.

Offline

Board footer

Powered by FluxBB