PDA

View Full Version : Changing color of search link in navbar


CrashPush
10-14-2008, 05:50 PM
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?

SEOvB
10-15-2008, 03:02 AM
Find the search link code in the navbar and use something like


<a style="font-color:red;" href="search.php">

CrashPush
10-20-2008, 06:45 PM
Find the search link code in the navbar and use something like


<a style="font-color:red;" href="search.php">


Thanks but that didn't work. :(

Seven Skins
10-20-2008, 07:29 PM
In Navbar template:

Find:
$vbphrase[search]

Replace:
<font color="#FF0000">$vbphrase[search]</font>

Lynne
10-20-2008, 08:09 PM
Thanks but that didn't work. :(
It actually should have been:

<a style="color:red;" href="search.php">

You should try to use CSS as the font tag is deprecated.

Seven Skins
10-20-2008, 09:12 PM
Or you can:

Add this to "Additional CSS Definitions"

.searchcolor {color: #FF0000;}


And in Navbar tempate find:
<a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a>

Replace with:
<a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow" class="searchcolor">$vbphrase[search]</a>


.

CrashPush
10-22-2008, 02:19 AM
In Navbar template:

Find:
$vbphrase[search]

Replace:
<font color="#FF0000">$vbphrase[search]</font>

This worked perfectly thanks!