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

  • NC for Hire

    thank you so much

  • mmm... My N3 site doesn't have stars. Is there supposed to be there? 

    • Hi Scott, you just need to enable them in your pages that you want them on

      8740042286?profile=RESIZE_710x

       

      • Got it. Thank you!

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

Kenny Craig updated their profile
Sunday
Isabella Wilson updated their profile
Jun 5
Eva liked ⚡JFarrow⌁'s discussion What is going on with Ning? What Do We have to Look Forward To?
Jun 2
Eva liked Suave's discussion I AM LOOKING FOR DEVELOPER ASSISTANCE WITH ADDING AUTOMATIC MUSIC TO MY HOME PAGE
Jun 2
Alex - Rosas † Negras posted a discussion
Jun 1
Alex - Rosas † Negras posted a discussion
May 28
Alex - Rosas † Negras replied to Suave's discussion
I AM LOOKING FOR DEVELOPER ASSISTANCE WITH ADDING AUTOMATIC MUSIC TO MY HOME PAGE
"if you need I'm here, if you look in my discussions you will also find the playstil"
May 23
Alex - Rosas † Negras replied to ⚡JFarrow⌁'s discussion
What is going on with Ning? What Do We have to Look Forward To?
"Bizz ⚡JFarrow⌁ 
I'm sorry that many like us have worked so hard and given up, but at least I'm…"
May 23
⚡JFarrow⌁ posted a discussion
Back in the day, this community was jumping with activity.   But since the Ukraine war broke out we…
May 22
⚡JFarrow⌁ and Truebook are now friends
May 22
Alex - Rosas † Negras replied to Alex - Rosas † Negras's discussion
I want to thank JOHN BIZLEY ( BIZZ) for his invaluable help, active icons on the Ning bar,CODES ADDED
"A thousand thanks"
May 20
Alex - Rosas † Negras replied to Pam Givens's discussion
Landing Page
"Pam Givens this is an example i created of an old 3.0 site"
May 20
More…

Meanwhile, you can check our social media channels