The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[Customization] Adding a "super sticky" thread.
Hello guys,
In my forum, I have a few sticky threads. They're colored in yellow background and they stick at the top, yet the sticky threads themselves rotate up and down as members post within them. However, one of those sticky threads is VERY important so I'd like to make it "super sticky". That'd mean red background and to stay always at the top of all stickies. Is there any to implement that quick customization? something like "if thread number is XXX, then background-color = #FF0000 and position = always top". Anyway, I will be waiting for your reply. Thanks in advance! |
#2
|
|||
|
|||
No one?
|
#3
|
||||
|
||||
The background part is easy. Just get the threadid from the page source and add some CSS like this:
HTML Code:
#thread_2094.threadbit .sticky {background-color: pink;} |
#4
|
|||
|
|||
Thank you so much Lynne.
Could you please tell me where to insert that CSS line? I'm not very nimble at the Admin CP section. Thanks! |
#5
|
|||
|
|||
It should work if you edit the additional.css template and insert it there.
|
#6
|
|||
|
|||
I tried, but believe or not there's no "SAVE" button in the additional.css page, so upon inserting that CSS line I have no means to save it.
|
#7
|
|||
|
|||
Make sure you're going to Style Manager > Edit Templates, and editing the additional.css template (expand the CSS Templates group). If you're going to "Main CSS" that's a leftover page from vb3 that isn't used anymore.
|
#8
|
|||
|
|||
EXCELLENT, that worked. Thank you SO much!!!
Last question if I may: Do you know how to pin my threads ID 85 and 87 to the very top of the forum? Thank you very much in advance, I really appreciate your help! |
#9
|
|||
|
|||
By coincidence someone else just asked about the same thing. There's a mod that lets you set the display order of sticky threads here: https://vborg.vbsupport.ru/showthread.php?t=119746 . It's for vb3 but isn't hard to modify for vb4 - I'll send you a PM about it.
|
#10
|
||||
|
||||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|