Menu
Home
Overview
Demo
Screenshots
Samples
Download
Purchase
News
Support
Support
Documentation
Documentation
Articles
Company
Contact Us
Testimonials
Affiliates
Forums
Drupal Themes
Float Left worked in D6 but not working in D7 using artisteer 3.0
Author
Message
Roger
Posted: 3/2/2011
Quote message
I have D6 site with an artisteer theme that has a content type which includes a CCK imagefield. I want the image to float to the right of the body on the page display. I was able to accomplish that in D6 by simply adding the following to css.style for my artisteer theme:
.field.field-member-photo
{
float:left;
padding-right:20px;
}
I'm trying to reproduce the same layout in D7 using an artisteer 3.0 generated theme. However, the image remains positioned below the body content, rather than floating to the left of the body. I did try a float:right just to make sure I was actually calling the right item and my image did float to the right of the page.
Can someone advise how to float an imagefield image to the left of the body content in a D7 artisteer 3.0 generated theme? Thanks.
Roger
Posted: 3/2/2011
Quote message
Figured it out. I just needed to go into the "manage display" menu for that content type and move the image field above the body field. Then the float:left works just fine.
John deuf
Posted: 10/3/2011
Quote message
Thank you very useful !!
Reply
NAME *
EMAIL
SMILIES
CODES
BODY *
[quote=Roger] I have D6 site with an artisteer theme that has a content type which includes a CCK imagefield. I want the image to float to the right of the body on the page display. I was able to accomplish that in D6 by simply adding the following to css.style for my artisteer theme: .field.field-member-photo { float:left; padding-right:20px; } I'm trying to reproduce the same layout in D7 using an artisteer 3.0 generated theme. However, the image remains positioned below the body content, rather than floating to the left of the body. I did try a float:right just to make sure I was actually calling the right item and my image did float to the right of the page. Can someone advise how to float an imagefield image to the left of the body content in a D7 artisteer 3.0 generated theme? Thanks. [/quote]
VALIDATION *