kartik-v / bootstrap-star-rating

A simple yet powerful JQuery star rating plugin with fractional rating support.
http://plugins.krajee.com/star-rating
Other
1.06k stars 400 forks source link

Using Bootstrap 4 it half works: "starts" are not visible #198

Closed palminha closed 5 years ago

palminha commented 5 years ago

Prerequisites

Steps to reproduce the issue

  1. Install with composer as instruction on readme

Expected behavior and actual behavior

When I follow those steps, I don't see the starts. I can see the "Not Rated" and if i over the mouse close the caption i see it changing to "One Star", "Two Stars", etc... but the stars are not visible.

I was expecting the stars to be visible

Environment

Browsers

Operating System

Libraries

Isolating the problem

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/76372818-using-bootstrap-4-it-half-works-starts-are-not-visible?utm_campaign=plugin&utm_content=tracker%2F548024&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F548024&utm_medium=issues&utm_source=github).
palminha commented 5 years ago

Tried out what is described here #196 and it doesn't work

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mhnamaki commented 4 years ago

Have you found a solution? :)

Wagnerxyz commented 3 years ago

you should set theme property! $("#input-id").rating({ theme: 'krajee-svg'});

kartik-v commented 3 years ago

By default the plugin has been updated since v4.1.0 to use krajee-svg as the default theme. This is because plugin has moved more towards support of Bootstrap later releases like 4.x and 5.x and both these releases do not support glyphicons. Remember you need to load the krajee-svg theme assets (js/css) on your page as well as mentioned in the usage section of the docs.

luoxiangyu02 commented 7 months ago

i meet the same question ,have you found a solution?