vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Removing underlined link (https://vborg.vbsupport.ru/showthread.php?t=39172)

Smoothie 05-28-2002 11:58 PM

Removing underlined link
 
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.

Code:

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

1 Attachment(s)
Quote:

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

Is that how you want it?

Smoothie 05-29-2002 02:09 AM

Quote:

Originally posted by Boofo
Check this out and see that it works fine here for me.

testing

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:

Code:

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:
PHP Code:

A:linkA:visitedA:active {


    
COLOR: { linkcolor};


    
TEXT-DECORATIONnone

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.

Code:

<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:
PHP Code:

A.user:link TEXT-DECORATIONnone;}
A.user:link:hover TEXT-DECORATIONunderline;} 

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?


All times are GMT. The time now is 04:44 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02350 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete