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 :-)

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

Tavolo Ornitologico replied to George H. Compton IV's discussion
( 11 themes N3 N2 ) Customizable CSS winter/holiday themes
"Very cool  codes George."
12 hours ago
Traddie replied to Anastasia_Ning_Support's discussion
Migration FAQ
"Hi. Does 3.0 have events?"
13 hours ago
Ahkam Nasution updated their profile
15 hours ago
Traddie replied to Traddie's discussion
Can someone summarise where we are on Ning 3.0 and Ning 4.0
"Can someone also explain what the Ning Builder is?"
16 hours ago
Traddie posted a discussion
I am back looking at creators after over a year and a half. Can someone ( maybe even from ning) sum…
17 hours ago
Tavolo Ornitologico replied to Traddie's discussion
Please show your networks
" "
20 hours ago
Tavolo Ornitologico replied to Traddie's discussion
Please show your networks
"tavoloornitologico.ning.com"
20 hours ago
J.Ayvar replied to J.Ayvar's discussion
why Ning videos thumbnails not appearing ?
"Great Job !! Now my Network are showing thumbnails. "
yesterday
This Is bully replied to Traddie's discussion
Please show your networks
yesterday
Rick Bradford replied to Rick Bradford's discussion
How to set up SSL?
"All seems to be working, thanks very much!
 "
yesterday
⚡JFarrow⌁ replied to Traddie's discussion
Please show your networks
"You can check this one out   it double performs over my old 2.0  hope this helps  "
yesterday
Traddie posted a discussion
Hi AllI am struggling to find well designed networks on Ning 3.0 to help me with my decision to upg…
yesterday
More…

Meanwhile, you can check our social media channels