Current status of the Ning Platform is always available on the Ning Status Blog.

TIP: Change Votes Stars Size And Colour

I've looked everywhere for an option in the design studio to be able to set the sizes and colours for the stars for voting but doesn't seem to be an option added, from what I can tell it's using the links colous you've set for the site in general, also found the stars really small.

So here is some css to be able to change the colours and size, I set mine to show as gold while also increasing the font size. The two font-size settings are at the top of the css code and I have used em rather than pixels but you can use pixels if you prefer ie : font-size: 20px!important for example. Note that I have used the same colour for the hover states so not to confuse the member. You can add your own colour by altering the colour setting and you can state a colour or use the hex system as I have done. To state a colour by name you would just write it like this:  color: gold!important;

Here is the CSS code which goes in your design studio custom css

/*** STAR VOTING ***/
/** VOTES STARS SIZE **/
.ratingResultGroup .star, .ratingResultGroup .star.checked, .ratingResultGroup {
font-size: 1.4em!important;
}
/** ADDING VOTE STARS COMMENT FORM **/
.commentForm .rating, .commentRatingGroup .star.checked {
font-size:1.5em!important;
}
.ratingResultGroup .star.checked, .commentRatingGroup .star.checked{
color: #c4ca18!important;
}
.commentForm .rating > input:checked ~ label {
color: #c4ca18!important;
}
.commentForm .rating:not(:checked) > label:hover,
.commentForm .rating:not(:checked) > label:hover ~ label {
color: #c4ca18!important;
}
.commentForm .rating > input:checked + label:hover,
.commentForm .rating > input:checked + label:hover ~ label,
.commentForm .rating > input:checked ~ label:hover,
.commentForm .rating > input:checked ~ label:hover ~ label,
.commentForm .rating > label:hover ~ input:checked ~ label {
color:#c4ca18!important;
}
.commentFormRatingEdit .rating:not(:checked) > label:hover,
.commentFormRatingEdit .rating:not(:checked) > label:hover ~ label {
color:#c4ca18!important;
}
.commentFormRatingEdit .rating > input:checked ~ label {
color:#c4ca18!important;
}
/***** END STAR VOTES ****/

 

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • Great Tip @Bizz  ! i wonder if is possible to change the stars icon for another icon .

    • Thanks

      Will look into it and see what can be done :-)

  • thank you so much

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Lea Bouillet updated their profile
yesterday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
"Bizz 
these are the points impossible to reach without these codes"
Saturday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
""
Saturday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
"Bizz 
tell me without codes how you can get here my bro"
Saturday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
""
Saturday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
"my aim is to get perfect CSS without touching the study design"
Saturday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
"does not play the usual game does not change color to the touch and does not go where a creator…"
Saturday
Bizz replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
"You don't need to add any css as this can be done in your design studio"
Saturday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
"these buttons will go all over your site"
Saturday
Rosas † Negras posted a discussion
 Design StudioGlobal Css/*Buttons*/a.button, button, input.button {color:#fff!important;background:…
Saturday
Rosas † Negras replied to Bizz's discussion
NING ISSUE WITH SIGN UP FORM
"Max Ning Support hi dear friend ... I need to ask something ... I am writing to you in private"
Friday
Kinga Incze replied to Kinga Incze's discussion
Monetization - fee questions
"That's clear, thanks, one last question on fees: so if a subscriber pays 100 dollars, first Stripes…"
Friday
More…

Meanwhile, you can check our social media channels