Hello,

Currently, Fivestar displays like this:

Rating:
(Stars)

How would I get it to display like this:

Rating: (Stars)

Would I need to edit the css, php, or both? If so, how?

Any help would be greatly appreciated.
Thanks.

CommentFileSizeAuthor
#4 drupalz.png2.36 KBrawrzors

Comments

develpr’s picture

just make the lable(rating) "float:left" in css..Thanks

rawrzors’s picture

Develpr,

Where in fivestar.css do I make this change?
I put it in line 58

div.fivestar-widget {
display: block;

}

but it still doesn't work.

Thanks

develpr’s picture

if you are using drupal 7 then : go to content type and "manage display" and make it "display inline"..

and if drupal 6 then: replace "fivestar-widget " with class name of the field..
div.fivestar-widget {
display: block;
float:left;

}

Thanks

rawrzors’s picture

StatusFileSize
new2.36 KB

Hello,

I have done as you described, however I have still not been able to completed my task.

The attached picture will give you a better idea of what I am looking for. The left is what I currently have, and right is what I want.

Thank you.

Img

develpr’s picture

go to content type >> manage display and make this field "inline"..

Thanks

rawrzors’s picture

Hello,

That works only for the node view. I am trying to get it to work for the Views view.

Thanks

IWasBornToWin’s picture

In the view, you assign the field and label each a class.(style settings) then write this in your css;

.labelclassname {
display:inline;
}
.fieldclassname {
float:left;
}
IWasBornToWin’s picture

That is backwards. You don't need inline code, just float code for thelabel class.

ericduran’s picture

Category: task » support
Status: Active » Fixed

Support request at best.

Also marking it fixed as the solution is mentioned above.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.