The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Changing color of search link in navbar
I would like to change the color of the search link in my navbar to red to encourage more searching by my members.
How is the easiest way to do this? |
#2
|
||||
|
||||
Find the search link code in the navbar and use something like
Code:
<a style="font-color:red;" href="search.php"> |
#3
|
||||
|
||||
Thanks but that didn't work.
|
#4
|
||||
|
||||
In Navbar template:
Find: Code:
$vbphrase[search] Code:
<font color="#FF0000">$vbphrase[search]</font> |
#5
|
||||
|
||||
It actually should have been:
HTML Code:
<a style="color:red;" href="search.php">
|
#6
|
||||
|
||||
Or you can:
Add this to "Additional CSS Definitions" HTML Code:
.searchcolor {color: #FF0000;} And in Navbar tempate find: HTML Code:
<a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> HTML Code:
<a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow" class="searchcolor">$vbphrase[search]</a> . |
#7
|
||||
|
||||
This worked perfectly thanks!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|