A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Change Background-Color of Forum/Topic alt Titles and alt Counts
Feb 7, 2010
5:22 pm
Member
Forum Posts: 109
Member Since:
Jan 22, 2010
Offline

How do I change alt background-color of forum/topic Titles and Counts? -

 

This css changes Titles to light blue -
#sforum .sfblock .sfforumtable .sfforumitem { background: #eff9fa; }

 

But this css will not change color of the alt Titles -
#sforum .sfblock .sfforumtable .sfforumitem .sfalt { background: #faf6ef !important; }

 

And this css changes Counts to light orange -
#sforum .sfforumtable .sfcounts { background: #faf4e1;}

But this css will not change color the alt Counts -
#sforum .sfforumtable .sfcounts sfalt { background: #faf4e1; }

 

Feb 7, 2010
9:01 pm

SP Master
Forum Posts: 23587
Member Since:
Dec 10, 2006
Offline

not an easy question to answer as not sure I understand… which page view?  sometimes best to upload image here with area in question… or better yet, suggest firefox with firebug… absolutely required tool for playing with css…

typically the title stuff is controlled by

#sforum .sfforumtable td

you might need a !important to override whats there…  and in some skins, you have to worry about

#sforum .sfforumtable td.sfalt

where the colors alternate by row…

and that style is typically applied to every column in the table… but the different columns have different styles too if you want to change just one column…

again, give firefox with firebug addon a try… will make this easy for you…

but come on back if you need more help…

Feb 10, 2010
1:12 pm
Member
Forum Posts: 109
Member Since:
Jan 22, 2010
Offline

That worked great for #sforum .sfforumtable td.alt, changed entire topic row,

but for #sforum .sfforumtable td, it doesn't change the topic iconcell on left,

even when I  add -

#sforum .sfforumtable td, #sforum .sfforumtable td .sficoncell

Feb 10, 2010
7:56 pm
Member
Forum Posts: 109
Member Since:
Jan 22, 2010
Offline

Got it!

#sforum .sfblock .sfforumtable tr td.sficoncell { background: #f1f6f6; }
#sforum .sfblock .sfforumtable .sfalt { background: #eaf3ee !important; }

Feb 10, 2010
8:21 pm
Member
Forum Posts: 535
Member Since:
Jun 15, 2009
Offline

Glad to hear it!

Are you using Firefox with the Firebug extension? It takes all the hardwork out of finding problem CSS and testing changes on the fly quickly and easily.

Techie TalkCheck out Techie Talk – James (aka Luffer)
Feb 10, 2010
8:21 pm

SP Master
Forum Posts: 23587
Member Since:
Dec 10, 2006
Offline

good job!

Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: chucktho, SPQC
56 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 485

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2616

Members: 7328

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10839

Posts: 79118

Moderators: Brandon C (158)

Administrators: Yellow Swordfish (22131), Mr Papa (23580)