Page 1 of 1

removing the underline

Posted: Thu Feb 25, 2010 6:02 am
by jerojoomla
Hi,

How can I make the underline appear whenever I clicked on the hyperlink?

Re: removing the underline

Posted: Thu Feb 25, 2010 6:46 am
by ranwilli
Be more specific...

there are four "states" (or pseudo classes) of links...
:link
:visited
:hover
:active

which one(s) of them do you want underlined???

Re: removing the underline

Posted: Thu Feb 25, 2010 6:58 am
by vikas17
go to the template.css and change the style sheet for link...

Re: removing the underline

Posted: Thu Feb 25, 2010 6:59 am
by jerojoomla
:hover

I have a text that tsays" click here (here is linked to a site) . I want to have the underline appear whenever I hover the "here". Currently, there is a default underline for the here link. I wanted that underline to appear and disappear. Thanks.

Re: removing the underline

Posted: Thu Feb 25, 2010 7:08 am
by raghavtomar
I didn't quite get you but have a look here...
http://forum.joomla.org/viewtopic.php?f=428&t=492350

Re: removing the underline

Posted: Thu Feb 25, 2010 9:11 am
by umi_gold
hi

you have to add the following code in template.css

a:hover {text-decoration:underline;} (show the underline on mouse hover)

a:visited {text-decoration:underline;} (show the underline when link is visited)

good luck
umi

removing the underline

Posted: Tue Jul 12, 2011 4:24 am
by saeedbayat
Hi,

I want to remove underline from all hyperlinks but I can not find it anywhere in the template. I am using Beez. can anybody help?

Thanks

Re: removing the underline

Posted: Tue Jul 12, 2011 5:43 am
by ranwilli
The underline is HTML default...

at the top of the css file (if there are more than one, choose the last one listed in the head section of your template's index.php file) insert:

Code: Select all

a {
text-decoration:none;
}

Re: removing the underline

Posted: Sun Jul 17, 2011 12:48 am
by saeedbayat
Thanks ranwilli, I used that property in my css layout file and all underlines were removed and every thing was about to be done but the bad thing is that the whole html and css files are reseted.
I really do not know how it happened!!!!

Re: removing the underline

Posted: Sun Jul 17, 2011 2:35 am
by ranwilli
saeedbayat wrote:... I used that property in my css layout file and all underlines were removed and every thing was about to be done but the bad thing is that the whole html and css files are reseted.
...
Sorry, I have no idea what that means, please be more specific.

Re: removing the underline

Posted: Sun Mar 10, 2013 4:20 pm
by mick_3d
ranwilli wrote:The underline is HTML default...

at the top of the css file (if there are more than one, choose the last one listed in the head section of your template's index.php file) insert:

Code: Select all

a {
text-decoration:none;
}
Having run around the underline issue for a while. I carefully read ranwilli's instructions and it worked.
1. Read through your template's index.php file and note the last referenced css file eg: beez5.css
2. Open up the relevant .css file and at the top where the code begins enter:
a {
text-decoration:none;
}
That should do it.