Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Joyn › Comments section: title display + width of box
New Landing › How can we help? › Themeforest Theme Support › Joyn › Comments section: title display + width of box
- This topic has 16 replies, 3 voices, and was last updated 9 years by
Rui Guerreiro – SUPPORT.
-
Posted in: Joyn
-
June 12, 2015 at 9:59 am #183893
Hello,
The comments section of our site has a ‘Title’ field above the comments box, however the title doesn’t seem to display.
I tried deactivating plugins however no help.
Many thanks!!
June 12, 2015 at 10:01 am #183894Oh and I failed to mention the second challenge…is there a way to expand the size of the comment box. As you’ll see it is not expanded to the full width of the text. Currently 1000px wide.
June 12, 2015 at 10:03 am #183895This reply has been marked as private.June 12, 2015 at 10:08 am #183897Hi,
Please attach marked screenshot to explain your issues exactly.
Thanks
MohammadJune 12, 2015 at 10:15 am #183900All the comments here have been added with a title however the title shows up in none of them.
Thanks for the help and quick response!
Attachments:
You must be logged in to view attached files.June 12, 2015 at 10:25 am #183904And here is an image showing the width of the text (1000px) verses the width of the comment box (600px approximately).
Attachments:
You must be logged in to view attached files.June 12, 2015 at 10:41 am #183915Hi,
Please provide me correct login detail.
Thanks
MohammadJune 12, 2015 at 10:48 am #183919This reply has been marked as private.June 12, 2015 at 6:46 pm #184155Can’t login with those credentials.
Can you check them again.-Rui
June 14, 2015 at 9:11 am #184306This reply has been marked as private.June 15, 2015 at 7:50 am #184411Hi,
Please upgrade to latest version of theme and let me know.
Thanks
MohammadJune 15, 2015 at 10:38 am #184489Hi Mohamed,
Theme + plugins updated.
Still no luck with the titles. I’ve tried uninstalling plugins but this is no help.
The second question remains too regarding the width of the comment box – perhaps it requires Custom CSS.
Thanks for the help.
Adrian
June 15, 2015 at 10:58 am #184495Hi,
Please use this custom css code:-.type-page #comment-area { margin: 0px !important; width: 100% !important; }
Thanks
MohammadJune 15, 2015 at 11:06 am #184499Thanks Mohamed! Width of comment box worked.
Now we need to work out how to add comment titles – is this possible?
June 15, 2015 at 12:22 pm #184537Hi,
I have resolved the issue so please check.Code remarked:-
<?php function sf_custom_comments( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; $GLOBALS['comment_depth'] = $depth; ?> <li id="comment-<?php comment_ID() ?>" <?php comment_class( 'clearfix' ) ?>> <div class="comment-wrap clearfix"> <div class="comment-avatar"> <?php if ( function_exists( 'get_avatar' ) ) { echo get_avatar( $comment, '100' ); } ?> <?php if ( $comment->comment_author_email == get_the_author_meta( 'email' ) ) { ?> <span class="tooltip"><?php _e( "Author", "swiftframework" ); ?><span class="arrow"></span></span> <?php } ?> </div> <div class="comment-content"> <div class="comment-meta"> <?php printf( '<span class="comment-author">%1$s</span> <span class="comment-date">%2$s</span>', get_comment_author_link(), human_time_diff( get_comment_time( 'U' ), current_time( 'timestamp' ) ) . ' ' . __( "ago", "swiftframework" ) ); ?> <div class="comment-meta-actions"> <?php edit_comment_link( __( 'Edit', 'swiftframework' ), '<span class="edit-link">', '</span><span class="meta-sep"> |</span>' ); ?> <?php if ( $args['type'] == 'all' || get_comment_type() == 'comment' ) : comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply', 'swiftframework' ), 'login_text' => __( 'Log in to reply.', 'swiftframework' ), 'depth' => $depth, 'before' => '<span class="comment-reply">', 'after' => '</span>' ) ) ); endif; ?> </div> </div> <?php if ( $comment->comment_approved == '0' ) _e( "\t\t\t\t\t<span class='unapproved'>Your comment is awaiting moderation.</span>\n", 'swiftframework' ) ?> <?php //print_r($comment); echo '<h3>'.$vote = get_comment_meta( $comment->comment_ID, 'title', true ).'</h3>'; ?> <div class="comment-body"> <?php comment_text() ?> </div> </div> </div> <?php } ?>
Thanks
Mohammad -
Posted in: Joyn
You must be logged in and have valid license to reply to this topic.