Current User: Guest
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






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

Change Background-Color of Forum/Topic alt Titles and alt Counts

Information
UserPost

5:22 pm
Feb 7, 2010


DStall

Member

posts 109

 
1

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; }

 

9:01 pm
Feb 7, 2010


Mr Papa

Arizona, USA

SPF Master
SPF Master

posts 14861

 
2

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…

1:12 pm
Feb 10, 2010


DStall

Member

posts 109

 
3

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

7:56 pm
Feb 10, 2010


DStall

Member

posts 109

 
4

Got it!

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

8:21 pm
Feb 10, 2010


Luffer

Hailsham, UK

Wiki Master
Wiki Master

posts 482

 
5

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)

8:21 pm
Feb 10, 2010


Mr Papa

Arizona, USA

SPF Master
SPF Master

posts 14861

 
6

good job!


Reply to Topic:
Change Background-Color of Forum/Topic alt Titles and alt Counts

Guest Name (Required):

Guest Email (Required):

NOTE: First Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
9 + 10
   


Information


About the Simple:Press Forum

Forum Timezone: America/Chicago

Most Users Ever Online: 118

Currently Online: LockdowN
48 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 3
Forums: 10
Topics: 6308
Posts: 45224

Membership:

There are 4355 Members
There have been 1707 Guests

There are 2 Admins
There are 2 Moderators

Top Posters:

jim – 413
ovizii – 232
Tal – 206
Isaak – 183
Barandum – 178
David Polensky – 173
neon – 154
peterhol – 145

Recent New Members: LockdowN, Dye Free Living, inikoa, pquintin, MrFoxBody, jerde, Andrew., azmansell, Kadin, EllieWalsh

Administrators: Yellow Swordfish (15084 Posts), Mr Papa (14859 Posts)

Moderators: -Radio- (1251 Posts), Luffer (482 Posts)