How do you remove the blue line under links?

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Suggested Hosts
Locked
Bruce Banner
Registered User
Posts: 1327
Joined: Thu Sep 25, 2014 10:36 am

How do you remove the blue line under links?

Post by Bruce Banner »

I've been offered several suggestions. None of them have worked. Is it actually even possible?
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: How do you remove the blue line under links?

Post by Lumpy Burgertushie »

depends on the links, where they are , etc.

normally you do it with the css:

text-decoration: none;
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Bruce Banner
Registered User
Posts: 1327
Joined: Thu Sep 25, 2014 10:36 am

Re: How do you remove the blue line under links?

Post by Bruce Banner »

Lumpy Burgertushie wrote:depends on the links, where they are , etc.

normally you do it with the css:

text-decoration: none;
Is that links.css?
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: How do you remove the blue line under links?

Post by Lumpy Burgertushie »

depends on what links you are talking about.


however, you can set it for all links there.

look in this section:

Code: Select all

a:link	{ color: #898989; text-decoration: none; }
a:visited	{ color: #898989; text-decoration: none; }
a:hover	{ color: #d3d3d3; text-decoration: underline; }
a:active	{ color: #d2d2d2; text-decoration: none; }
robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Bruce Banner
Registered User
Posts: 1327
Joined: Thu Sep 25, 2014 10:36 am

Re: How do you remove the blue line under links?

Post by Bruce Banner »

Lumpy Burgertushie wrote:depends on what links you are talking about.


however, you can set it for all links there.

look in this section:

Code: Select all

a:link	{ color: #898989; text-decoration: none; }
a:visited	{ color: #898989; text-decoration: none; }
a:hover	{ color: #d3d3d3; text-decoration: underline; }
a:active	{ color: #d2d2d2; text-decoration: none; }
robert
Nope, didn't work. I changed underline there to none and it had no effect.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: How do you remove the blue line under links?

Post by Lumpy Burgertushie »

did you refresh your theme after you made the change?

admin panel, styles tab
on the left, click on theme
on the right, click on refresh for your style.

submit
refresh your browser.

If that doesn't work, please give a link to a place on your board where you are seeing these underlines on a link.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Bruce Banner
Registered User
Posts: 1327
Joined: Thu Sep 25, 2014 10:36 am

Re: How do you remove the blue line under links?

Post by Bruce Banner »

Lumpy Burgertushie wrote:did you refresh your theme after you made the change?

admin panel, styles tab
on the left, click on theme
on the right, click on refresh for your style.

submit
refresh your browser.

If that doesn't work, please give a link to a place on your board where you are seeing these underlines on a link.


robert
FINALLY! NObody told me to refresh my browser before! THAT was the problem! Thanks.
Bruce Banner
Registered User
Posts: 1327
Joined: Thu Sep 25, 2014 10:36 am

Re: How do you remove the blue line under links?

Post by Bruce Banner »

Sorry for reviving this thread but I've just found out that the advice given apparently only works for posts. It doesn't seem to work for links in signatures. What do I do if I want a link in my signature but without an underline?
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: How do you remove the blue line under links?

Post by Lumpy Burgertushie »

looks like it is here:
links.css

Code: Select all

.signature a, .signature a:visited, .signature a:hover, .signature a:active {
	border: none;
	text-decoration: underline;
	background-color: transparent;
}
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Bruce Banner
Registered User
Posts: 1327
Joined: Thu Sep 25, 2014 10:36 am

Re: How do you remove the blue line under links?

Post by Bruce Banner »

Lumpy Burgertushie wrote:looks like it is here:
links.css

Code: Select all

.signature a, .signature a:visited, .signature a:hover, .signature a:active {
	border: none;
	text-decoration: underline;
	background-color: transparent;
}
Great, thanks.
Locked

Return to “[3.0.x] Styles Support & Discussion”