The Joomla! Forum ™



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.



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: removing the underline
PostPosted: Thu Feb 25, 2010 6:02 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Feb 25, 2010 2:46 am
Posts: 4
Hi,

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


Top
 Profile  
 
PostPosted: Thu Feb 25, 2010 6:46 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Sun Feb 19, 2006 6:47 pm
Posts: 17913
Location: Toledo, OH
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.


Top
 Profile  
 
PostPosted: Thu Feb 25, 2010 6:58 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Mon Sep 14, 2009 8:45 am
Posts: 183
Location: India
go to the template.css and change the style sheet for link...

_________________
vikas verma


Top
 Profile  
 
PostPosted: Thu Feb 25, 2010 6:59 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Feb 25, 2010 2:46 am
Posts: 4
: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.


Top
 Profile  
 
PostPosted: Thu Feb 25, 2010 7:08 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sat Aug 22, 2009 7:35 am
Posts: 641
Location: India
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!


Top
 Profile  
 
PostPosted: Thu Feb 25, 2010 9:11 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Feb 22, 2010 4:22 am
Posts: 16
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

_________________
http://www.kamokapearls.com/


Top
 Profile  
 
 Post subject: removing the underline
PostPosted: Tue Jul 12, 2011 4:24 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Jun 11, 2011 11:57 pm
Posts: 3
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


Top
 Profile  
 
PostPosted: Tue Jul 12, 2011 5:43 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Sun Feb 19, 2006 6:47 pm
Posts: 17913
Location: Toledo, OH
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:
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.


Top
 Profile  
 
PostPosted: Sun Jul 17, 2011 12:48 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Jun 11, 2011 11:57 pm
Posts: 3
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!!!!


Top
 Profile  
 
PostPosted: Sun Jul 17, 2011 2:35 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Sun Feb 19, 2006 6:47 pm
Posts: 17913
Location: Toledo, OH
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.


Top
 Profile  
 
PostPosted: Sun Mar 10, 2013 4:20 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Thu Jul 31, 2008 7:23 am
Posts: 163
Location: Marlborough UK
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:
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 



Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group