By Andylkl on
I've seen before a Drupal sites that have avatars on the right hand side, and wrapped together with the text nicely. I can't get to do the same thing for my site though.
I made some adjustments to node.tpl.php and only suceeded in aligning the avatar to the right. I thought I had suceeded when I enclosed it in a table, but it turns out that I had also screwed up the layout slightly. I'm currently using the FriendsElectric theme and I haven't the slightest of a clue how to edit which section of the CSS template.
Here's my site. Any assistance really is appreciated. Thanks.
Comments
Arngh, sorry about the typos
Arngh, sorry about the typos and grammatical errors there. Wasn't paying attention when editing my post earlier.
use css
I think this issue can be easily corrected with css.
For example you have following snippet for avatar:
Then add following css rules to your stylesheet:
Thanks for the tip, but how
Thanks for the tip, but how do I implement it in this?
open the css file of your
open the css file of your theme and search the file for picture and adjust the css as necessary.
drupal refers to the "avatar" as picture.
That's the thing, the
That's the thing, the FriendsElectric CSS theme doesn't seem to have a section for pictures/avatars. You can take a look at the CSS file here which I recently edited. I still can't get it to work right.
you may have to steal it out
you may have to steal it out of misc/drupal.css and add it in to friendselectric's style.css to override.
I found a way to partly fix
I found a way to partly fix this.
I put a div container for the appropriate stuff in node.tpl.php and I added this to the CSS file:
But the problem now is how do I make the container height flexible? I don't want it set at 200px or any figure because any fixed figure will overflow and overlap.