Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-12 10:58:52

sraone
New Member
Registered: 2007-11-27
Posts: 9

Recent comments in the homepage

I have used <txp:recent_comments /> in the homepage of my site, and I would like to use the css to use the bold for the name of the postses. how to do?

www.paesenostro.it

Offline

#2 2007-12-12 13:52:00

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Recent comments in the homepage

You have to go to forms and find a form most probably called ‘comments. In there you should have something like ...<txp:comment_name />... which you can either wrap it in a <strong> tag or if you want to use css it could become something like <span class="strong"><txp:comment_name /></span> and style the .strong class


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2007-12-12 14:04:30

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Recent comments in the homepage

colak wrote:

You have to go to forms and find a form most probably called ‘comments. In there you should have something like …<txp:comment_name />… which you can either wrap it in a <strong> tag or if you want to use css it could become something like <span class=“strong”><txp:comment_name /></span> and style the .strong class

colak, <txp:recent_comments /> doesn’t allow usign custom forms :)

Instead give a spin for a plugin or SVN

Cheers!

Last edited by Gocom (2007-12-12 14:07:59)

Offline

#4 2007-12-13 07:07:12

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Recent comments in the homepage

i stand corrected:)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2007-12-14 09:37:49

sraone
New Member
Registered: 2007-11-27
Posts: 9

Re: Recent comments in the homepage

I have resolved. I have used the plugin rei_recent_comments and I have modified the code
thanks.

Offline

Board footer

Powered by FluxBB