PDA

View Full Version : Spacing between Comments (articles, blogs, etc)


Wordplay
04-22-2011, 05:10 AM
My avatars are 100x160. therefore higher than they are wide, when posting comments on articles or blogs the avatar hangs over the post and lands partially beneath the following comment's avatar.

I figured placing a little padding at the bottom of blog comments and article comments should fix this but I have not been able to create a padding beneath blog comments, how would I do this?

Lynne
04-22-2011, 03:00 PM
Try adding this to your additional.css template - adjust as needed:
#commentform li.postbit-lite {margin-bottom: 30px;}

Wordplay
04-23-2011, 10:27 AM
thank you very much lynne! it worked for the blog entries, but not for the article comments, which have the same problem.

is it possible to set a fixed size for the avatars? in comments? i'd prefer them to always be squished into the same size.

right now some user has a 50x160 avatar and in the commens it shows up as full because from the looks of things, avatars in comments are fixed according to width, so since he has a 50x160px avatar it just looks messy. i think that's why myspace, twitter and facebook use fixed sizes on minature profile pictures, so nothing looks out of place.

Lynne
04-23-2011, 03:24 PM
It looked like you are only asking for the blog page.

For the articles, try something similar, just different id:
#node_comments li.postbit-lite {margin-bottom: 30px;}

Wordplay
04-23-2011, 07:35 PM
oh sorry, i thought the title saying "articles, blogs, etc" made that clear. ;)

i'll try that out, can you also help me with the fixed avatar sizes in the article and blog comments?

--------------- Added 1303598835 at 1303598835 ---------------

it would be perfect to set it to a fixed 60px x 78px for article and blog comments.

Lynne
04-23-2011, 10:11 PM
The avatar dims are set here, so just change this if that is how you want to do it:
.postbit-lite .avatarlink img { height: auto; width: 60px;}
The width is the stylevar avatar_height
</div></div>

Wordplay
04-28-2011, 11:18 AM
great that worked perfectly.

but as luck wants it i keep running into more complications.

https://vborg.vbsupport.ru/showthread.php?p=2189638#post2189638