0
사용자 정의 wordpress 테마에서 comments.php를 구성 중입니다.다른 WordPress 상단에 하나의 div를 쌓는 데 문제가 있습니다.
게시물 메타 데이터가 하나의 div로 묶여 있습니다. comment_text 함수가 다른 div에 싸여 있습니다. 게시물 메타 데이터는 주석 위에 있습니다. 내가 겪고있는 문제는 게시물 메타 데이터의 맨 아래와 comment_text의 맨 위에있는 것입니다. 둘 사이에는 공간이 있습니다. 둘 다 ol li 안에 있습니다.
래퍼 div에 넣기를 시도했지만 작동하지 않았습니다. Divs와 Li의 모든 패딩, 여백을 제거하면 도움이되지 않습니다.
<div class="comment_wrapper">
<div class="post_meta_data">
Posted by: <?php comment_author_link(); ?> on <?php comment_date();?>
</div><!--end .post_meta_data-->
<div class="comment_text">
<?php comment_text(); ?>
</div><!--end .comment_text-->
</div><!--end .comment_wrapper-->
어떤 제안 : 여기 내 코드는? 감사합니다