Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
on my site http://www.fmforums.com

I am trying to get the 3 links in the header to stay WHITE and only underline on hover
I can't figure out what to put in the ccs to get it to work.

thanks

Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
well first off in your ubbt_unregisterednav.tmpl and ubbt_registerednav.tmpl is the line?

<a href = "$phpurl/dosearch.php?Cat=0&Forum=All_Forums&Words=&Match=Entire+Phrase&Old=1day&Limit=25&bodyprev=1" $target>{$ubbt_lang['24HOURS']}</a>

or

<a href = "$phpurl/dosearch.php?Cat=0&Forum=All_Forums&Words=&Match=Entire+Phrase&Old=1day&Limit=25&bodyprev=1" $target>24Hrs</a>

if its the later you can just use a <font class="white"></font> in the .tmpl to make it white but it will still have the underline. and it won;t change when it gets hovered over. thats the simple way. if you want to get more technical you will have to dig thru the code where it calls the menu bar and probably alter that alot.

btw all the links are tied to a:hover, a:link, a:visited or .onbody a:hover, .onbody a:link, and .onbody a:visited in the css depending where the links are located. All links have an underline under them in the threads.

Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
Thanks I was referring to the actual generic header...

here is the snipit of what I setup

<a class="hnav" href="http://www.fmforums.com/" target="_top">Home</a>   <a class="hnav" href="http://www.fmforums.com/pages/rent.php" target="_top">Advertise</a>   <a class="hnav" href="http://www.fmforums.com/threads/postlist.php?Cat=&Board=library" target="_top">How To</a>

and I added this to the CCS

.hnav{
color: #000000;
background: none;
}

.hnav a:link {
color: #000000;
background: none;

}

.hnav a:visited {
color: #000000;
background: none;
}

.hnav a:active {
color: #000000;
background: none;
}


But I just can't get it to turn white.

Last edited by oceanwest; 02/01/2004 1:53 PM.
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
thats not the generic header where that is showing up on your site though. thats the menubar. the menubar is dictated from the ubbt_unregisterednav.tmpl and ubbt_registerednav.tmpl's. ?? so you want it to show up in the header or the menubar like it is now?

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
<a class="hnav" href="http://www.fmforums.com/" target="_top" style="color: #ffffff;">


- Custom Web Development
http://www.JCSWebDev.com
Sponsored Links
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
Umm. yea it is the generic header it is the blue bar that spans my site over on the right side I have 3 links.

I added style="color: #ffffff;" to the line in the generic header. and it does make it white.

but why can't I get it to work via the style sheet. I added the hnav as a reference and in the style sheet. Just can't figure out why it is not working, via style sheet.

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
<a class="hnav" href="http://www.fmforums.com/" target="_top"><span class="white-tag">Text</span></a>


- Custom Web Development
http://www.JCSWebDev.com
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
ok light bulb is getting a little brighter.

What i did was put the class above the links in <td
and didn't specify any class on the link itself.

Now it is working..

Question does it may any difference where in the CCS the items are
ccs are not order dependent?

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
Nope, order is not important.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
looks really nice.. I especially love all the errors

[]Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/fmforums/public_html/threads/mysql.inc.php on line 35
SQL ERROR: Mon, Feb 02 2004 13:54:06 -0800 Database error only visible to forum administrators

[/]


Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)