Active
Project:
Halfstar
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 May 2015 at 18:26 UTC
Updated:
13 May 2015 at 20:01 UTC
Jump to comment: Most recent
Hello, this module work great with the widgets included in fivestar module, but when i add a custom widget, using the hook_fivestar_widgets, according to fivestar API, i get unexpected results. It seems that a class with the custom widget name is not added to the html, like it happens for other widgets, but it inherits the classes of the default widget, and thus, the CSS for default widget that is in halfstar module.
Since my widget has a different size than the default one, it displays badly. Hacking the CSS in your module, beside being a bad practice, would result in a wrong default widget.
Any way to add the right classes for custom widgets too?
Comments
Comment #1
haunted commentedIt seems that this behaviour was because i installed my custom widget module after halfstar. After disinstalling both and installing half star as last seems to have solved the problem.