Comment adjustments, back to 64px avatar. ;)
This commit is contained in:
parent
bf67bcb082
commit
6518224239
|
@ -38,7 +38,7 @@ function comicpress_avatar() {
|
|||
$id_or_email = get_comment_author_email();
|
||||
if (empty($id_or_email)) $id_or_email = get_comment_author();
|
||||
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 {
|
||||
if ($comment_type == 'pingback' || $comment_type == 'trackback') {
|
||||
echo '<img src="'.get_template_directory_uri().'/'.$avatar.'" class="photo trackping" />';
|
||||
|
|
|
@ -4,8 +4,6 @@ if (!$comicpress_options['disable_lrsidebars_frontpage']) { ?>
|
|||
<div class="sidebar-head"></div>
|
||||
<div class="sidebar">
|
||||
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?>
|
||||
<?php comicpress_comic_bookmark() ?>
|
||||
|
||||
<?php if (is_cp_theme_layout('standard,v')) { ?>
|
||||
<div class="widget">
|
||||
<?php comicpress_calendar(); ?>
|
||||
|
|
10
style.css
10
style.css
|
@ -599,16 +599,16 @@ h3, h3 a {
|
|||
}
|
||||
|
||||
.comment .comment {
|
||||
margin: 10px 0 0 90px;
|
||||
margin: 10px 0 0 70px;
|
||||
}
|
||||
|
||||
.comment .comment .comment {
|
||||
margin-left: 45px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.comment-avatar {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
@ -624,7 +624,7 @@ h3, h3 a {
|
|||
}
|
||||
|
||||
.comment-content {
|
||||
margin-left: 90px;
|
||||
margin-left: 70px;
|
||||
}
|
||||
|
||||
.comment .comment .comment-content {
|
||||
|
|
Loading…
Reference in New Issue