Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-03-01 04:03:45

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Change active class attribute to "text-decoration: none"

I’m new to Textpattern, but not CSS. I’ve converted the default page to my own, customized, page using CSS. Styles are pointed to my custom CSS style sheet at: Presentation>Styles. All is working splendidly so far.
However, the “a links” (active links) are still viewing with an underlined even though I have called out all “a” attributes as “text-decoration:none” per standard CSS mark-up. (I’ve even used the “!important” tag, but no difference.) This leads me to believe that there is some sort of overriding Textpattern attribute that I’m unable to locate.

Any suggestions out there?

Thanks much!


Living the Location-Independent Life: www.NuNomad.com

Offline

#2 2010-03-01 04:37:19

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: Change active class attribute to "text-decoration: none"

Is the underlining of your links the product of a “border-bottom” call perhaps?

Offline

#3 2010-03-01 05:09:22

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: Change active class attribute to "text-decoration: none"

Nope. The entire site simply ignors my active link decoration style (“none”) and keeps an underline under all active eliments.


Living the Location-Independent Life: www.NuNomad.com

Offline

#4 2010-03-01 12:05:49

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Change active class attribute to "text-decoration: none"

Is your style sheet a modified version of the original? If so, Joe has the solution: the original has

a {
	text-decoration: none;
	color: #000;
	border-bottom: 1px #000 solid;
}

Tracking down CSS issues is so much easier with Firebug, the Webkit inspector, or some other dedicated CSS tool.


Code is topiary

Offline

#5 2010-03-01 12:36:11

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: Change active class attribute to "text-decoration: none"

jsoo. That was awfully clever work around. I would not have thought to mask over the underline with a bottom border. And, yes, it works. Thank you.


Living the Location-Independent Life: www.NuNomad.com

Offline

#6 2010-03-01 14:55:38

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Change active class attribute to "text-decoration: none"

Actually not what I meant. If you based your style sheet off the default one from new Txp installation, it has the bottom border for anchors as above. So you just need to remove the border.


Code is topiary

Offline

#7 2010-03-01 15:28:31

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: Change active class attribute to "text-decoration: none"

holy cow, your’re right. I must have went through the style sheet a dozen times looking for that, and kept looking over it. Thanks for pointing that out to me (even though it was a bit obvious). This is why working alone can be such a pain!


Living the Location-Independent Life: www.NuNomad.com

Offline

#8 2010-03-10 17:55:44

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,391
Website GitHub

Re: Change active class attribute to "text-decoration: none"

trueplay = spammer?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#9 2010-03-10 18:04:28

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: Change active class attribute to "text-decoration: none"

Bloke wrote:

trueplay = spammer?

Well, that vote on the textpattern CMS in this thread was a lie , since the competition has been, you know, closed like for four months.

Still… strange way of spamming… How about “confused”?

Last edited by JanDW (2010-03-10 18:08:44)


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

Board footer

Powered by FluxBB