Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why doesn't "activeColor" work ? #32

Open
ytche opened this issue Jun 14, 2018 · 2 comments
Open

why doesn't "activeColor" work ? #32

ytche opened this issue Jun 14, 2018 · 2 comments

Comments

@ytche
Copy link

ytche commented Jun 14, 2018

i want to let activeColor to be "#555#.but after i change the option,the star's still be gold.

  $(".test-rating").starRating({
  initialRating: 4,
  disableAfterRate: false,
  strokeColor: "black",
  emptyColor:"white",
  ratedColor:"#555",
  hoverColor: '#555',
  activeColor: '#555',
  strokeWidth: 10,
  starSize: 15
});
<div class="test-rating"></div>
@nashio
Copy link
Owner

nashio commented Jun 15, 2018

there must be another location in your code that is changing it. Can you share your file?

@Anima-ana
Copy link

Anima-ana commented Jun 13, 2019

I have this problem too. I dont find what obstruct ActiveColor in my stars, but i use css that to appoint my color in stars

.my-rating-stars-class polygon[class*="svg-active-"] {
    fill: #e92526!important;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants