Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
requests-topic
pinned/locked topics
Avatar
c0d3r
Member
Free Members
sp_UserOfflineSmall Offline
Jun 3, 2009 - 5:22 am

Hi,

I'm looking for a way to visually indicate pinned/locked topics by changing the background color of the table row

Alternatively, a new type of post "Forum Note" could be added, with a different background color, so I can put them at the top of a forum and draw proper attention to these special posts

thanks

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 3, 2009 - 5:40 am

'Pinned' topics will persist at the very top of the index list and the table row is given a class of:

sfpinnedtopic

is that enough?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 3, 2009 - 6:23 am

and new forum topics are generally (can change it up via options) listed in order of "newness" after the pinned topics and do have a different icon displayed next to them...

Avatar
c0d3r
Member
Free Members
sp_UserOfflineSmall Offline
Jun 3, 2009 - 6:38 am

I'm not a css expert or anything - how could I take advantage of the sfpinnedtopic tag to change the background color ?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 3, 2009 - 11:43 am

you need to add the styling to your wp theme (or spf skin) to tell it what you want to do...

for example:

.sfpinnedtopic {background-color: #ffffff;}

would give them white background...

Avatar
c0d3r
Member
Free Members
sp_UserOfflineSmall Offline
Jun 3, 2009 - 11:56 am

ok, so suppose I'm using the detroit skin

when I edit detroit.css, where do I put this line exactly ?

(I've tried just adding the line into this .css file and it did not seem to do anything)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 3, 2009 - 12:02 pm

perhaps bad example... isnt the background for detroit skin already white? did you change the color to non white?

sorry, at work and cant really dig into a test case, but can tonight...

a link to your site would be helpful too...

Avatar
c0d3r
Member
Free Members
sp_UserOfflineSmall Offline
Jun 3, 2009 - 12:16 pm

What I'm looking for is changing the background of the row (in the table)

Example :

http://www.corelan.be:8800/ind.....llector-1/

The first 2 topics in the table are pinned/locked... I would like to change the background of these 2 rows into something else, so they would stand out more than they do today

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 3, 2009 - 12:24 pm

add in this code

#sforum .sfforumtable tr.sfpinnedtopic td {
background-color: #000000 !important;
}

and of course pick the color that you want...

Avatar
c0d3r
Member
Free Members
sp_UserOfflineSmall Offline
Jun 3, 2009 - 12:45 pm

works fine, thanks !!

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17366
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626