The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How do I add note like this?
Does anyone know how do I add a note in a box like this?
It's from this blog post https://www.vbulletin.com/forum/entr...ticle#comments Thanks |
#2
|
|||
|
|||
Just throw some css in the additional.css template like this :
Code:
.incontentnotice { border: 1px solid #0B1986;color:#000;background-color:#F5FFFF;padding:5px; } HTML Code:
<div class="incontentnotice">YOUR NOTICE HERE</div> |
Благодарность от: | ||
BrightStar |
#3
|
||||
|
||||
Or create a Custom BBCode using the code Adam posted above, and use {param} instead of YOUR NOTICE HERE.
|
2 благодарности(ей) от: | ||
Adam H, BrightStar |
#4
|
||||
|
||||
Thanks a lot Adam and Iain for the code.
Sorry to sound dumb where do I place which code in custom BBcode? I have placed the following code in Replacement box Quote:
cheers |
#5
|
||||
|
||||
If you've called your Note tag NOTE, then in example you should put [NOTE]This is a note.[/NOTE]
The background should change per style if you add the code to each additional.css, changing the background color property as you like. |
#6
|
||||
|
||||
Thanks Iain.
When I goto styles and additional css (Via Main.css window) it states the this file is for reference only and is obsolete . |
#7
|
|||
|
|||
It should go in the template named additional.css (under the "CSS Templates" group).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|