View Full Version : Custom thread tags
pureturk
07-22-2012, 07:24 AM
How do you create different thread tags like on this site?
And is it also possible to assign certan tags to certain forums or subforums only?
https://vborg.vbsupport.ru/external/2012/07/20.png
Lynne
07-22-2012, 04:47 PM
Thread Prefixes?
pureturk
07-22-2012, 04:51 PM
Maybe thats what I mean. those images you place to indicate the type of threads
Lynne
07-22-2012, 05:11 PM
Yep - look into Admincp > Thread Prefixes
pureturk
07-22-2012, 05:36 PM
Yep - look into Admincp > Thread Prefixes
Is it possible to add image icons for each prefix as shown in the pic?
cellarius
07-22-2012, 06:06 PM
That's most likely not images, that's text styled with css. You can use html (for example a span tag) around your tag, give it a class and define that class in additional.css.
Anyway, you could use images too, since html is possible (IIRC).
pureturk
07-22-2012, 06:12 PM
I using this span tag but the text falls outside the image .
I need the text to appear in center of the image.
<IMG SRC="images/gradients/in.png"><style="color: green"><b>IN</b></span>
cellarius
07-22-2012, 06:16 PM
If you want the image to be in the background, you canĀ“t use img. Use CSS background instead.
pureturk
07-22-2012, 06:21 PM
If you want the image to be in the background, you can?t use img. Use CSS background instead.
Here they are able to use image background and place the text in the middle. however I need the text to be white.
http://www.htmlgoodies.com/tutorials/html_401/article.php/3479661/HTML-40-SPAN-Tag.htm
cellarius
07-22-2012, 06:32 PM
Then change the value of color to white/#ffffff. This really is the most basic css. If you want to style your forum, you need to learn some.
pureturk
07-22-2012, 06:32 PM
If you want the image to be in the background, you can?t use img. Use CSS background instead.
Can you generate a CSS code for me ?
cellarius
07-22-2012, 06:36 PM
Without knowing what exactly you want - i.e. what image are you talking about, and where is it supposed to go - no. As I said, to do what you posted above there's no need for images.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.