New Landing How can we help? Themeforest Theme Support Joyn Comments section: title display + width of box

Viewing 15 posts - 1 through 15 (of 17 total)
  • Posted in: Joyn
  • #183893
    BUUR
    Member
    Post count: 14

    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!!

    #183894
    BUUR
    Member
    Post count: 14

    Oh 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.

    #183895
    BUUR
    Member
    Post count: 14
    This reply has been marked as private.
    #183897
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please attach marked screenshot to explain your issues exactly.
    Thanks
    Mohammad

    #183900
    BUUR
    Member
    Post count: 14

    All 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.
    #183904
    BUUR
    Member
    Post count: 14

    And 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.
    #183915
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me correct login detail.
    Thanks
    Mohammad

    #183919
    BUUR
    Member
    Post count: 14
    This reply has been marked as private.
    #184155
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Can’t login with those credentials.
    Can you check them again.

    -Rui

    #184306
    BUUR
    Member
    Post count: 14
    This reply has been marked as private.
    #184411
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please upgrade to latest version of theme and let me know.
    Thanks
    Mohammad

    #184489
    BUUR
    Member
    Post count: 14

    Hi 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

    #184495
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .type-page #comment-area {
        margin: 0px !important;
        width: 100% !important;
    }

    Thanks
    Mohammad

    #184499
    BUUR
    Member
    Post count: 14

    Thanks Mohamed! Width of comment box worked.

    Now we need to work out how to add comment titles – is this possible?

    #184537
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register