Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   Format comments (http://forum.bytesforall.com/showthread.php?t=2106)

alickerman Jun 19, 2009 07:37 AM

Format comments
 
Sorry to be so slow (I've perused other threads that relate to my problem but can't figure out how they apply--hence this new thread) but I'm looking for a simple way to control the amount of space between commenter's names/avatars and the first line of their comment as well as the spacing between paragraphs. I'm using 3.3.2. Any help you could give would be most appreciated. Your theme absolutely rocks by the way!

Flynn Jun 20, 2009 07:22 PM

add a CSS Insert

HTML Code:

/* space above paragraphs in comments */
ul.commentlist li p {
margin-top: 20px;
}

/* space below comment meta */
div.comment-meta {
margin-bottom: 30px;
}


MCNX Aug 18, 2009 07:57 PM

Hello there,

Speaking of comments, commenters and avatars, I would like to keep the commenter's avatar on the left side of the comment box, and the commenter's name, date and text of the comment on the right side. (V 3.4.2)

Basically, something like this:


HTML Code:

AVATAR                By John Citizen
                      Posted on 25 April

                      Text text text text text text text text text text
                      Text text text text text text text text text text
                      Text text text text text text text text text text

Instead:


HTML Code:

AVATAR                By John Citizen
                      Posted on 25 April

                    Text text text text text text text text text text
Text text text text text text text text text text
Text text text text text text text text text text

How can I do this?

Have a good day :-)

Alex

Flynn Aug 22, 2009 09:32 PM

You can add a CSS Insert

ul.commentlist p {
margin-left: 70px;
}

MCNX Aug 29, 2009 08:40 AM

It works fine. Thanks

mrcrowley1999 Sep 30, 2009 07:28 PM

1 Attachment(s)
I was looking to try and number each comment on the new atahualpa theme. I tried this with one of the plugins:



<!-- Do this for every comment -->
<?php if ($bfa_ata['separate_trackbacks'] == "Yes") {
wp_list_comments(array(
'avatar_size'=>$bfa_ata['avatar_size'],
'reply_text'=>__(' &middot; Reply','atahualpa'),
'login_text'=>__('Log in to Reply','atahualpa'),
'callback' => gtcn_basic_callback,
'type' => 'comment',
));
wp_list_comments(array(
'avatar_size'=>$bfa_ata['avatar_size'],
'reply_text'=>__(' &middot; Reply','atahualpa'),
'login_text'=>__('Log in to Reply','atahualpa'),
'callback' => gtcn_basic_callback,
'type' => 'pings',
));
} else {
wp_list_comments(array(
'avatar_size'=>$bfa_ata['avatar_size'],
'reply_text'=>__(' &middot; Reply','atahualpa'),
'login_text'=>__('Log in to Reply','atahualpa'),
'callback' => gtcn_basic_callback,
'type' => 'all',
));
}
?>

and replacing the comment code in the original php, this works, but the comments are now not formatted at all.

does anyone know how to add format to the above code? or can you give me a link to the original comments.php that has been fixed to enable numbered comments?

thanks!

mrcrowley1999 Sep 30, 2009 07:30 PM

by the way, the attached above shows that this code is not the same as can be found on several sites, for the fix. Or I would have tried that. the php format is different.

I have found no help online for this particular version of code.

again, thanks!

juggledad Oct 1, 2009 04:17 AM

What version of Atahualpa, WP and PHP?
what plugin did you use it with?
Where did you put it?


All times are GMT -6. The time now is 01:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.