Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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, 07: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 10:03 AM.
  #2  
Old Jun 20, 2009, 07: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, 07: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, 09: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, 08:40 AM
MCNX's Avatar
MCNX
 
9 posts · Jul 2009
Sydney, Australia
It works fine. Thanks
  #6  
Old Sep 30, 2009, 07: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, 1803 views)
  #7  
Old Sep 30, 2009, 07: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, 04:17 AM
juggledad's Avatar
juggledad
 
23,765 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 10:04 AM
Trouble uploading image in a correct format nrc New Versions, & Updating 1 May 5, 2009 10: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 03:01 PM
Categories & Archives format Glottis Excerpts, Read more, Pagination 3 Jan 30, 2009 11:09 AM
Some general format questions Nielsp Atahualpa 3 Wordpress theme 4 Jan 15, 2009 10:00 AM


All times are GMT -6. The time now is 06:37 AM.


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