3 replies [Last post]
panna's picture
Offline
Joined: 02/22/2010

Maybe I'm losing it... : ) but I can't seem to CSS position the profile photo in nodes. No problem in teasers --but the 'clear-block' div is clearing all when at the node.

Please help! see: http://development.panna.org/big-ag-defensive

Rob D.'s picture
Offline
Joined: 04/09/2008

Hi panna,

Where did you want it to be positioned? You could remove that clear-block div - it appears at approx. line 88 in node.tpl.php, closing tag at line 91. And also the image is floated right with this css:

.picture {
float:right;
}

panna's picture
Offline
Joined: 02/22/2010

Rob,

Thanks for the reply. Yes, its the clear-block that is the problem. I want the photo to float right (and be wrapped by) text. Would removing that div in node.tpl.php affect other elements within the theme? That was my concern.

I assumed it was styling other divs in site.

panna's picture
Offline
Joined: 02/22/2010

Ok, tried that and it helps with positioning. But really having difficulties simply adding user photo, date, and name to the top of Blog posts only. I've updated the deepsea.info file and the node.tpl.php file per the other forum post.

I can only enable a photo for blog posts only, When I enable the date and name it becomes attached to every node type.

Support hours: 9AM - 5PM EST, Mon - Fri

Follow us on: