removing the underline

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
jerojoomla
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Thu Feb 25, 2010 2:46 am

removing the underline

Postby jerojoomla » Thu Feb 25, 2010 6:02 am

Hi,

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

User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 18505
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

Re: removing the underline

Postby ranwilli » Thu Feb 25, 2010 6:46 am

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???
Don't HACK the Joomla! core. Extend and Override.
http://harpervance.com -
Live Joomla! Help available at the site M-F, 9-12 am edt 2-5pm edt.
by appointment on evenings and weekends.

User avatar
vikas17
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 183
Joined: Mon Sep 14, 2009 8:45 am
Location: India
Contact:

Re: removing the underline

Postby vikas17 » Thu Feb 25, 2010 6:58 am

go to the template.css and change the style sheet for link...
vikas verma

jerojoomla
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Thu Feb 25, 2010 2:46 am

Re: removing the underline

Postby jerojoomla » Thu Feb 25, 2010 6:59 am

: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.

User avatar
raghavtomar
Joomla! Guru
Joomla! Guru
Posts: 641
Joined: Sat Aug 22, 2009 7:35 am
Location: India
Contact:

Re: removing the underline

Postby raghavtomar » Thu Feb 25, 2010 7:08 am

I didn't quite get you but have a look here...
viewtopic.php?f=428&t=492350
Raghav Tomar
Head To Joomla Section At - http://meetraghav.co.in
All Users are requested to mark solved problems as RESOLVED! Its really helpful for others!

umi_gold
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Mon Feb 22, 2010 4:22 am

Re: removing the underline

Postby umi_gold » Thu Feb 25, 2010 9:11 am

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

saeedbayat
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Jun 11, 2011 11:57 pm

removing the underline

Postby saeedbayat » Tue Jul 12, 2011 4:24 am

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

User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 18505
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

Re: removing the underline

Postby ranwilli » Tue Jul 12, 2011 5:43 am

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;
}
Don't HACK the Joomla! core. Extend and Override.
http://harpervance.com -
Live Joomla! Help available at the site M-F, 9-12 am edt 2-5pm edt.
by appointment on evenings and weekends.

saeedbayat
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Jun 11, 2011 11:57 pm

Re: removing the underline

Postby saeedbayat » Sun Jul 17, 2011 12:48 am

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!!!!

User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 18505
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

Re: removing the underline

Postby ranwilli » Sun Jul 17, 2011 2:35 am

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.
Don't HACK the Joomla! core. Extend and Override.
http://harpervance.com -
Live Joomla! Help available at the site M-F, 9-12 am edt 2-5pm edt.
by appointment on evenings and weekends.

User avatar
mick_3d
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 163
Joined: Thu Jul 31, 2008 7:23 am
Location: Marlborough UK
Contact:

Re: removing the underline

Postby mick_3d » Sun Mar 10, 2013 4:20 pm

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.


Return to “General Questions/New to Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 8 guests