PDA

View Full Version : Links Have No Underline


TheLink
08-07-2002, 08:35 PM
Im sure this is simple but I'm not smart.

How do you get the links to have no underline - just like whats here at vbtemps?

Mr. X
08-07-2002, 08:39 PM
You have to edit the head insert either in templates or in styles. Look for:

A:link, A:visited, A:active {
COLOR: #4274B6;

and add

TEXT-DECORATION: none;

under that. I think that should do it.

TheLink
08-07-2002, 08:43 PM
Hmm..

Seems I already have that there, and yet I've got underlines.

".cat A:link, .cat A:visited, .cat A:active {
color: {linkcolor};
text-decoration: none;"

mashby
08-07-2002, 10:00 PM
What you posted is the .cat class, not the main A: entry. Check your stylesheet again for:

A:link, A:visited, A:active {COLOR: #4274B6; TEXT-DECORATION: none;}

TheLink
08-07-2002, 11:11 PM
Sorry Mashby. I figured since it wasn't a template it'd be okay.

mashby
08-07-2002, 11:21 PM
Grrr. Please edit your post and include it as a text file please.

roxics
08-19-2002, 04:39 PM
I would like to know how to do this as well. Easier explaintion please.

mashby
08-20-2002, 05:14 PM
vBulletin uses Cascading Style Sheets (CSS) for the most of the layout, colors, etc. So, you simply have to change a setting in the CSS that is in the Header section of the Admin Control panel.

So, do the following:

1. Log into your Admin Contol Panel

2. Scroll down to "Styles" in the left navigation and select Modify.

3. Select the "[fonts/colors/etc]" for the style you'd like to edit.

4. Search in the "Head Insert" section for: A:link, A:visited, A:active {
COLOR: #4274B6;
}
5. Replace with: A:link, A:visited, A:active {
COLOR: #4274B6;TEXT-DECORATION: none;
}
6. Click "Save Changes."

mashby
08-20-2002, 05:16 PM
Originally posted by Geddo
Sorry Mashby. I figured since it wasn't a template it'd be okay.

No problem, thanks for making the change. :)

Try adding the code that I list in the above post right before ".pagenumstatic {" and see if that helps. FWIW, it appears that you're missing some CSS code. You may want to check out the original to see what's missing.

imported_aLuCaRD
09-21-2002, 02:03 AM
How about making links have a line above and below them..? Thats possible isnt it..? Any ideas mashby..? ;)

JedKent
11-04-2002, 05:25 AM
Hmm... I have a question:

I got rid of the underlines... but now when I hover over my links, they don't underline.

And yes, I have all of my HOVER links set to TEXT-DECORATION: underline;

Anyone know what's wrong?