Comment adjustments, back to 64px avatar. ;)

This commit is contained in:
mindfaucet 2009-11-30 14:43:41 -07:00
parent bf67bcb082
commit 6518224239
3 changed files with 6 additions and 8 deletions

View File

@ -38,7 +38,7 @@ function comicpress_avatar() {
$id_or_email = get_comment_author_email(); $id_or_email = get_comment_author_email();
if (empty($id_or_email)) $id_or_email = get_comment_author(); if (empty($id_or_email)) $id_or_email = get_comment_author();
if(function_exists('comicpress_get_avatar') && $comment_type != 'pingback' && $comment_type != 'trackback' ) { if(function_exists('comicpress_get_avatar') && $comment_type != 'pingback' && $comment_type != 'trackback' ) {
echo str_replace("alt='", "alt='".wp_specialchars(get_comment_author(), 1)."' title='".wp_specialchars(get_comment_author(), 1), comicpress_get_avatar($id_or_email, 80)); echo str_replace("alt='", "alt='".wp_specialchars(get_comment_author(), 1)."' title='".wp_specialchars(get_comment_author(), 1), comicpress_get_avatar($id_or_email, 64));
} else { } else {
if ($comment_type == 'pingback' || $comment_type == 'trackback') { if ($comment_type == 'pingback' || $comment_type == 'trackback') {
echo '<img src="'.get_template_directory_uri().'/'.$avatar.'" class="photo trackping" />'; echo '<img src="'.get_template_directory_uri().'/'.$avatar.'" class="photo trackping" />';

View File

@ -4,8 +4,6 @@ if (!$comicpress_options['disable_lrsidebars_frontpage']) { ?>
<div class="sidebar-head"></div> <div class="sidebar-head"></div>
<div class="sidebar"> <div class="sidebar">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?>
<?php comicpress_comic_bookmark() ?>
<?php if (is_cp_theme_layout('standard,v')) { ?> <?php if (is_cp_theme_layout('standard,v')) { ?>
<div class="widget"> <div class="widget">
<?php comicpress_calendar(); ?> <?php comicpress_calendar(); ?>

View File

@ -599,16 +599,16 @@ h3, h3 a {
} }
.comment .comment { .comment .comment {
margin: 10px 0 0 90px; margin: 10px 0 0 70px;
} }
.comment .comment .comment { .comment .comment .comment {
margin-left: 45px; margin-left: 20px;
} }
.comment-avatar { .comment-avatar {
width: 80px; width: 64px;
height: 80px; height: 64px;
float: left; float: left;
overflow: hidden; overflow: hidden;
} }
@ -624,7 +624,7 @@ h3, h3 a {
} }
.comment-content { .comment-content {
margin-left: 90px; margin-left: 70px;
} }
.comment .comment .comment-content { .comment .comment .comment-content {