Help using <?php foreach ($comments as $comment) : ?> and <DIV> tag
-
Hi,
I managed to install Gravatar 2.6 from Skippy, but have some trouble positioning the gravatar within the comments.
I am using Ocean Mist v1.1, below is the link to the comments .php
Line 8 to 21 is the code for the Gravatar plugin.
Trouble is, I am trying to get the gravatars to appear on top of <div class=”postinfo”> on line 32,
but I can’t as it is enclosed by <div class=”archive” id=”comment-<?php comment_ID() ?>”> on line 24
This results in an big empty space next to the gravatar, which you can see here.
I have tried applying the <DIV> tag in lines 7 and in 8, but that just messed up the code…a Noob here ??
Any advice?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Help using <?php foreach ($comments as $comment) : ?> and <DIV> tag’ is closed to new replies.