Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By jgavin on
Im trying to format my comments and node pages to show user pictures. How do i get the image formatted similar to groups.drupal.org? Where the picture is left aligned and the text wraps around the image. Is this even an override?
Comments
Do it in style.css
You are able to justify your layout within your templates style.css, like:
You have to specialize your css-tag (in this case img) according to your template.
Thomas Narres
Keep the sunny side up
Thanks for your help, The
Thanks for your help,
The Node content is perfect all round now, with the image and spacing and text where i want it. BUT the comment content (submitted by text and comment text) is underneath the user picture. On the .tpl pages both look identical, is there something in the CSS that would be the case? I have played around with the CSS with no luck.