Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-03 18:18:00

Sirannon
New Member
From: Earth.
Registered: 2006-03-08
Posts: 6

Link color (I'm stumped)

Hi,

I’m feeling stumped over something, and I don’t know how to create what I’m trying to.

© – Posted by <i><txp:author /></i> @ < txp:permlink >< txp:posted />< /txp:permlink > | < txp:comments_invite wraptag=“p” / >
<br>

I’m trying to get the portion of my post footer to be gray in color, only after the @ symbol; what precedes it is already the correct color. I tried wrapping specified text in the span style tags, but that didn’t work. I have it in the default form in the forms section, since none of that footer code translates in the actual post footer form, and I don’t understand that as well. Basically, on my black background, time of post, that vertical divider and comment link are hidden.

Btw, I put spaces in a lot of that code to make it display.

So, I’m stumped and I would greatly appreciate some guidance. Thanks a lot! :)

Last edited by els (2006-08-03 20:30:16)

Offline

#2 2006-08-03 18:53:42

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: Link color (I'm stumped)

<code>
&copy; – Posted by @ < txp:permlink >< txp:posted />< /txp:permlink > | < txp:comments_invite wraptag=“p” / >
</code>

Make sure your selector is correct. In this case, everything after the @ symbol will be what the link color is of your website. So, if there’s an article footer tag, like this:

<code>
<div id=“articlefooter”>
&copy; – Posted by @ < txp:permlink >< txp:posted />< /txp:permlink > | < txp:comments_invite wraptag=“p” / >
</div>
</code>

then specify the css this way:
<code>
#articlefooter a
{
color: #ccc;
}
</code>

<code>
#articlefooter a:visited
{
color: #fff;
}
</code>

You should probably have posted this in the CSS forum. Also, make sure you provide more information (about your css, what youve tried etc) before asking next time.

Last edited by Walker (2006-08-03 18:57:43)

Offline

#3 2006-08-03 20:31:23

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Link color (I'm stumped)

Walker wrote:

You should probably have posted this in the CSS forum.

Moved :)
Also changed the subject.

Offline

Board footer

Powered by FluxBB