Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
Re: Change active class attribute to "text-decoration: none"
Is the underlining of your links the product of a “border-bottom” call perhaps?
Offline
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
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
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
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
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
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
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