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.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | drupalz.png | 2.36 KB | rawrzors |
Comments
Comment #1
develpr commentedjust make the lable(rating) "float:left" in css..Thanks
Comment #2
rawrzors commentedDevelpr,
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
Comment #3
develpr commentedif 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
Comment #4
rawrzors commentedHello,
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.
Comment #5
develpr commentedgo to content type >> manage display and make this field "inline"..
Thanks
Comment #6
rawrzors commentedHello,
That works only for the node view. I am trying to get it to work for the Views view.
Thanks
Comment #7
IWasBornToWin commentedIn the view, you assign the field and label each a class.(style settings) then write this in your css;
Comment #8
IWasBornToWin commentedThat is backwards. You don't need inline code, just float code for thelabel class.
Comment #9
ericduran commentedSupport request at best.
Also marking it fixed as the solution is mentioned above.