Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-12-01 12:18:30
- ortem
- New Member
- Registered: 2005-11-27
- Posts: 5
Breaking down the CSS
Hello all… I am new here. Learning Text Patern as I go which started about 3hours ago.
I am looking to change the style on the “comments_invite” and I can’t find it on the style sheet. Am I missing something?
Any help would be appreciated.
Thanks!
Offline
#2 2005-12-01 12:50:36
- ortem
- New Member
- Registered: 2005-11-27
- Posts: 5
Re: Breaking down the CSS
OK… thought I would give more detailed question.
this : txp:comments_invite wraptag=“p” / (took out brackets since it did not display)
How do I style that tag in particular? when you look at the source code, it refers to class=“comments_invite” but I don’t see that in the CSS and I don’t understand how else to alter it specifically.
Last edited by ortem (2005-12-01 12:59:20)
Offline
#3 2005-12-01 14:52:06
- Niconemo
- Member
- From: Rhône-Alpes, France
- Registered: 2005-04-18
- Posts: 557
Re: Breaking down the CSS
If it’s not in the css… just create it ! ;-)
<code>
.comment_invite p
{
/* whatever you want here */
}
</code>
Last edited by Niconemo (2005-12-01 14:54:50)
Nico
Offline
Re: Breaking down the CSS
Also, for posting code examples in the forum, see this FAQ.
Code is topiary
Offline
#5 2005-12-03 01:14:04
- ortem
- New Member
- Registered: 2005-11-27
- Posts: 5
Re: Breaking down the CSS
thank you for the FAQ for posting code jsoo
so Niconeemo, the : <code>wraptag=“p”/<code>
is the style portion of the tag?
and to change it I could do this <code>wraptag=“p.comment_link”/<code>
(or whichever ) for it to coresspnd my style of choice?
thank you for helping me understand the method behind the madness
Offline
Re: Breaking down the CSS
No, the “wraptag” only specifies the tag, not any of its attributes. Currently there is no way (of which I’m aware) to cause “wraptag” to add a class to the tag.
You cooin’ with my bird?
Offline
#7 2005-12-03 11:40:09
- ortem
- New Member
- Registered: 2005-11-27
- Posts: 5
Re: Breaking down the CSS
I’ve figured it all out now… thank you
Offline
Pages: 1