Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Comments, trackbacks & pings »

Format comments


  #1  
Old Jun 19, 2009, 08:37 AM
alickerman
 
2 posts · Jun 2009
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!

Last edited by alickerman; Jun 19, 2009 at 11:03 AM.
  #2  
Old Jun 20, 2009, 08:22 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
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;
}
  #3  
Old Aug 18, 2009, 08:57 PM
MCNX's Avatar
MCNX
 
9 posts · Jul 2009
Sydney, Australia
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
  #4  
Old Aug 22, 2009, 10:32 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You can add a CSS Insert

ul.commentlist p {
margin-left: 70px;
}
  #5  
Old Aug 29, 2009, 09:40 AM
MCNX's Avatar
MCNX
 
9 posts · Jul 2009
Sydney, Australia
It works fine. Thanks
  #6  
Old Sep 30, 2009, 08:28 PM
mrcrowley1999
 
2 posts · Sep 2009
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!
Attached Files
File Type: txt comments_text.txt (5.3 KB, 1284 views)
  #7  
Old Sep 30, 2009, 08:30 PM
mrcrowley1999
 
2 posts · Sep 2009
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!
  #8  
Old Oct 1, 2009, 05:17 AM
juggledad's Avatar
juggledad
 
23,686 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What version of Atahualpa, WP and PHP?
what plugin did you use it with?
Where did you put it?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Contact Form 7 drop-down-menu format Babs Plugins & Atahualpa 2 Jul 19, 2009 11:04 AM
Trouble uploading image in a correct format nrc New Versions, & Updating 1 May 5, 2009 11:43 PM
Trying to convert my page menu bar to the format on my simple machines forum page.. Joelb53 Page & Category Menu Bars 1 Apr 5, 2009 04:01 PM
Categories & Archives format Glottis Excerpts, Read more, Pagination 3 Jan 30, 2009 12:09 PM
Some general format questions Nielsp Atahualpa 3 Wordpress theme 4 Jan 15, 2009 11:00 AM


All times are GMT -6. The time now is 12:55 PM.


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