|
Joined: Apr 2002
Posts: 474
Enthusiast
|
Enthusiast
Joined: Apr 2002
Posts: 474 |
on my site http://www.fmforums.comI 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
|
|
|
|
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
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
Joined: Aug 2000
Posts: 1,290 |
<a class="hnav" href="http://www.fmforums.com/" target="_top" style="color: #ffffff;">
|
|
|
|
Joined: Apr 2002
Posts: 474
Enthusiast
|
Enthusiast
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
Joined: Aug 2000
Posts: 1,290 |
<a class="hnav" href="http://www.fmforums.com/" target="_top"><span class="white-tag">Text</span></a>
|
|
|
|
Joined: Apr 2002
Posts: 474
Enthusiast
|
Enthusiast
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
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 [/]
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|