Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #918052

    Hi there,
    i am using the ALB comment field on a page for using like a guestbook. I have two questions:

    i’d like to disable the date when the comment was posted. i could do it with the author (quick css: .comment_author_name {display: none;})
    wich works fine, but i can’t figure out the selector for the date. .commentmetadata {display: none;} does not work.

    i’d like to have the field where the guests can put in their comments above the comments, so that they don’t have to scroll all the way down to leave their message.

    thank you in advance
    Katharina

    #918197

    Hey KaJoHa,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #918270

    Hi,
    sorry, i forgot. Link in private content

    #918316

    Hi,

    You can use this css code to hide the date:

    .comment-meta.commentmetadata {
        display: none;
    }

    As for the comments form, copy comments.php of the Enfold theme and paste it on your child theme, cut this code ( line 156-177 ):

    	/* Last but not least the comment_form() wordpress function
    	 * renders the comment form as defined by wordpress itself
    	 * if you want to modify the submission form check the documentation here:
    	 * http://codex.wordpress.org/Function_Reference/comment_form
    	 */
    	 if(comments_open()){
    		
    		 
    		 echo "<div class='comment_container'>";
    		 echo "<h3 class='miniheading'>".__('Leave a Reply','avia_framework')."</h3>";
    		 echo "<span class='minitext'>".__('Want to join the discussion?','avia_framework')." <br/>".__('Feel free to contribute!','avia_framework')."</span>";
    		 comment_form();
    		 echo "</div>";
    	 }
    	 else if(get_comments_number())
    	 {
    		 /* If there are no comments and comments are closed,
    		 * let's leave a little note, shall we?
    		 */
    	 	
    	 	echo "<h3 class=' commentsclosed'>".__( 'Comments are closed.', 'avia_framework' )."</h3>";
    	 } 

    And paste it above this code (located in line 45):

    if ( get_comments_number() != "0" || comments_open() ) : ?>

    Let us know if this helps :)

    Best regards,
    Nikko

    #918366

    Hi,
    thanks for you fast reply! I feel stubid, but i had a “brainwave” and set in the “discussion” settings to only show the last 4 comments, not 20 as it is preset. It looks good now – if the client still wants the comments form above, i’ll try your solution and let you know.

    Reguarding the css: i already tried this code aswell, but it still doesn’t work. Not even with the !important rule.

    best regards

    #918388

    Hi,

    It’s not reflecting on your site, I can see this code which is causing the issue:

    */Kommentare*//
    .comment-meta.commentmetadata {
        display: none!important;
    }

    please replace it with:

    /*Kommentare*/
    .comment-meta.commentmetadata {
        display: none !important;
    }

    Best regards,
    Nikko

    #918408

    ahh – the devil is in the detail :)

    thank you!

    #918433

    Hi,

    Lol! XD You’re welcome and glad that we could help. Let us know if you need further assistance :)

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.