0

I have just implemented the Fivestar option in one of the evaluation form created by webform, I used the Fivestar module and Webform-fivestar module. But now I want to change the stars with different layout or design. In some of the article i read that we can change in manage display tab of the contentype but that option is not applicable for webform components. So that changing option is not available in the webform configurations. So please help me how to achieve this.

2
1

The webform-fivestar module currently doesn't have the option to select which star widget to use, however there is a patch you can apply at https://www.drupal.org/project/webform_fivestar/issues/2071161

There is information regarding how to apply patches at https://www.drupal.org/patch/apply

You can then select the widget per component, when editing the component, in the display settings (see screenshot).

enter image description here

5
  • Thanks rooby. I applied this patch but where will i get the option of selecting different widgets?
    – Suraj
    Jul 10 '18 at 9:56
  • @Suraj I have added more information to the answer.
    – rooby
    Jul 10 '18 at 11:32
  • Now it works fine, thanks for that. Is there any way to increase the size of the stars?
    – Suraj
    Jul 10 '18 at 12:25
  • You could override the CSS to change the size, however you would have to also override the images that the CSS refers to and create larger images to go with it. OR you could create your own widget style. There are some instructions for that at drupal.org/node/234391
    – rooby
    Jul 10 '18 at 23:19
  • Although that doco hasn't been updated for a while so it might not be up to date.
    – rooby
    Jul 10 '18 at 23:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.