Page 1 of 1

CSS for My Franchise

Posted: Thu Sep 11, 2008 4:44 am
by bonscott
Hey commish,

Can you add in the CSS on the new theme the one for My Franchise? This makes it really easy to see which players are mine in the various player stat reports.

In my league I use this:

Code: Select all

.myfranchise {
	font-weight: bold;
}
Now since the team names are already bolded I'd suggest a different color, maybe green or red. Something easy to read but will stand out.

Oh, the new template looks pretty good. Many reports are a lot easier to read without the huge sized team logos. Gives me some ideas for my own site.

Thanks! :sweet:

Re: CSS for My Franchise

Posted: Thu Sep 11, 2008 11:50 am
by joe.commish
Yes, Brandon, very nice on the new template. Looks great.

I 2nd his request, too. Sounds like a fine idea.

Re: CSS for My Franchise

Posted: Thu Sep 11, 2008 11:52 am
by braven112
I didn't even know that was an option, I'll try to get that added sometime this week!! :cooldude:

Re: CSS for My Franchise

Posted: Thu Sep 11, 2008 11:15 pm
by braven112
bonscott wrote:Hey commish,

Can you add in the CSS on the new theme the one for My Franchise? This makes it really easy to see which players are mine in the various player stat reports.

In my league I use this:

Code: Select all

.myfranchise {
	font-weight: bold;
}
Now since the team names are already bolded I'd suggest a different color, maybe green or red. Something easy to read but will stand out.

Oh, the new template looks pretty good. Many reports are a lot easier to read without the huge sized team logos. Gives me some ideas for my own site.

Thanks! :sweet:
Added a light blue for each team's name. Good call that does work pretty nice!

Re: CSS for My Franchise

Posted: Fri Sep 12, 2008 5:14 am
by bonscott
No problem.

The only problem now is I see better how horrid my QBs are. :)

Re: CSS for My Franchise

Posted: Sun Oct 12, 2008 4:53 am
by bonscott
Hey commish,

In helping someone on the MFL forum with this I found out that the code needs to be updated for specificity. Check below for an example:

Code: Select all

tr.myfranchise, tr.myfranchise A {
	font-weight: bold;
	color:red;
}
Basically in the player stats report it should highlight the entire line for your player, not just your team name. By doing this it will override the normal tablerow color for text and will highlight the whole row. Give it a try and see what you think.