The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
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
|
||||
|
||||
|
Quote:
|
|
#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:
|