Closed (fixed)
Project:
Fivestar
Version:
5.x-1.7
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Oct 2007 at 13:54 UTC
Updated:
17 Mar 2008 at 03:04 UTC
I wonder is it currently possible to have a different set of stars in the teaser and in the full node view? I would like to have bigger stars in full node and smaller stars in teaser view. It seems that it would be possible to do this with a bit of CSS-wizardy, but is there a better way to do it? Perhaps in future versions Fivestar could have a setting for this?
Comments
Comment #1
quicksketchThis is certainly just a matter of CSS. Because adding additional options to the already extensive admin would probably cause more headache than good, I'd definitely suggest taking the CSS. Because this request is theme-specific however, it makes it hard to suggest the right code. I'd probably start with a simple CSS file from an existing widget (such as hearts.css) and paste that into your style.css. Then change the widths/heights/background-images to your larger set of stars.
For example starting with:
Might be changed to:
Note that
div.full-nodeis just an example DIV that probably doesn't exist in your theme. You'll need to make a special class on node divs when being displayed in the full node version.I'm going to go ahead and close this request as it's over two months old. I'm sorry you didn't receive a response earlier.
Comment #2
mr.j commentedI submitted a patch of sorts for this a long time ago but it has been ignored, so I figured no-one else found it useful.
#193730: Allow different widget styles to be rendered