Fix overlapping blog comments images
If you are facing problems with overlapping avatars in the comments section, follow this fix. This will make the avatars fit within the containers and fix the annoying problem.
Template to edit: blog_comment Find this part in the particular file: Code:
<a href="{vb:link member, {vb:raw response}}" class="avatarlink"><img src="{vb:raw response.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw response.username}}" <vb:if condition="$response['avwidth'] > 60"> style="max-width:60px; height:auto; width:auto !important; width:60px"</vb:if> /></a> Code:
<a href="{vb:link member, {vb:raw response}}" class="avatarlink"><img src="{vb:raw response.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw response.username}}" style="max-width:60px; max-height: 60px; height:auto; width:auto !important; width:60px;" /></a> Regards, Shahz Download No files for download. |