Log in

View Full Version : Removing underlined link


Smoothie
05-28-2002, 11:58 PM
I have the username linked to their profile, like here at vb.org. What I want to do is remove the underline, and have a mouseover underline to that link only. How do I do this?

Thanks

|GMK|PlaTooN
05-29-2002, 12:03 AM
Yea like on teh forum names etc.. I cant figure it out either! It wasnt in the head part of the forum style part :(

Boofo
05-29-2002, 12:10 AM
Go to your admin panel.

Go to Styles > modify > fonts and colors > head insert

Then find cat A:hover and change the "underline" to "none" there. :)

Smoothie
05-29-2002, 12:27 AM
What I want is it to be underlined when I mouseover it. I don't want it to be underlined normally.

Boofo
05-29-2002, 12:30 AM
Try changing the itlink hover to none and see what that does. If not, I have a file that will fix it.

|GMK|PlaTooN
05-29-2002, 01:18 AM
I am talking about the forum topics and names I took all underline and changed to none yet no change in the links!

Boofo
05-29-2002, 02:00 AM
Try changing to the following and let me know if this fixes it. (Just change the portion of the code I have here). Remember to back up what you already have first.

A:link, A:visited, A:active {
COLOR: { linkcolor};
TEXT-DECORATION: none;
}
A:hover {
COLOR: { hovercolor};
TEXT-DECORATION: none;
}
#cat A:link, #cat A:visited, #cat A:active {
COLOR: #D4FFFF;
TEXT-DECORATION: none;
}
#cat A:hover {
COLOR: #D4FFFF;
TEXT-DECORATION: none;
}
#ltlink A:link, #ltlink A:visited, #ltlink A:active {
COLOR: #3D004D;
TEXT-DECORATION: none;
}
#ltlink A:hover {
COLOR: #FF0000;
TEXT-DECORATION: none;
}

Smoothie
05-29-2002, 02:03 AM
Originally posted by Boofo
Try changing the itlink hover to none and see what that does. If not, I have a file that will fix it. That didn't work. That only removes the underline on mouseover on the usernames on the forums home page (Last Post by..) This is the underlined I want to remove, under my username:

Boofo
05-29-2002, 02:06 AM
Check this out and see that it works fine here for me.

testing (http://www.bearfacts2.com/forum/showthread.php?threadid=22)

Is that how you want it?

Smoothie
05-29-2002, 02:09 AM
Originally posted by Boofo
Check this out and see that it works fine here for me.

testing (http://www.bearfacts2.com/forum/showthread.php?threadid=22)

Is that how you want it? Yes, except without the line on top when you mouseover, just the link underlined.

Boofo
05-29-2002, 02:18 AM
Just change the A hover like this and that should fix it:

A:link, A:visited, A:active {
COLOR: { linkcolor};
TEXT-DECORATION: none;
}
A:hover {
COLOR: { hovercolor};
TEXT-DECORATION: underline;
}
#cat A:link, #cat A:visited, #cat A:active {
COLOR: #D4FFFF;
TEXT-DECORATION: none;
}
#cat A:hover {
COLOR: #D4FFFF;
TEXT-DECORATION: none;
}
#ltlink A:link, #ltlink A:visited, #ltlink A:active {
COLOR: #3D004D;
TEXT-DECORATION: none;
}
#ltlink A:hover {
COLOR: #FF0000;
TEXT-DECORATION: none;
}

Smoothie
05-29-2002, 02:29 AM
But the way you have:A:link, A:visited, A:active {


COLOR: { linkcolor};


TEXT-DECORATION: none;
will remove underlined links all together, and I don't want to do that. Just this specific link-->Username

Boofo
05-29-2002, 02:33 AM
You got me on that one. I have never tried to do it with just one type of specified link. I will play with it and see what I can come up with. :)

|GMK|PlaTooN
05-29-2002, 02:42 AM
Yea I tried and tried and got frustrated then drank a beer watched the leafs lose and tried again and still no change :'(

Boofo
05-29-2002, 02:45 AM
Try adding the style statement in whatever link you want to have different. Look at the following and let me know if it works for you.

<normalfont><a href="member.php?s=&action=getinfo&userid=$userinfo[userid]" style="TEXT-DECORATION : none;"><b>$post[username]</b></a></normalfont>

Smoothie
05-29-2002, 06:42 AM
Got it solved. add a css tag for it, then add class="xxx" in the template.

Boofo
05-29-2002, 06:58 AM
The code I gave you didn't work? It worked on my end. What is the exact steps and code you did to make it work for you then? And do you have to do it that way for each separate instance?

Smoothie
05-29-2002, 07:22 AM
I added a css tag in the Head Insert:A.user:link { TEXT-DECORATION: none;}
A.user:link:hover { TEXT-DECORATION: underline;} I then added a class="user" in the postbit template in the <a href="linkhere"> tag for the username.

BTW, thanks to c-prompt for the help.

Chicago_VLNU_4s
07-28-2006, 01:09 AM
somebody assist me in doing this.. this threads last reply was in 2002, its 2006. maybe theres an easiar way of going about this.. can some1 help?