Ranking List Numbers and Points instead of Stars

Posted in: Newspaper
Post count: 47

Hi,
I have 2 questions:

1: Is it possible, that I can add the Number of the Ranking Position to this Toplist of Movies? 1, 2, 3, 4…like the other Plugin I use? I want to deactive the other Voting Plugins and want to work onyl with the Newspaper Theme “Tools” (Review Sytem).
Other Plugin: Ranking
Newspaper Review: Newspaper sort Review

2: In my Tolist ex. the Movie Lord of the Rings…I have vote it with 10 Points. But in den Post it shows only 5 stars instead of 10 Points: 10 Points
Do you habe a idea, if a make something wrong?

Many thanks
KR
Frank

Post count: 35449

Hello,

1. The number can be set using a custom css (can be set automatically, but you can not set the order).
2. This is because the review when is converted in stars will have between 1 and 5 stars, if the 10 points is allocate to a post this will have 5 stars, if is allocated 9 points will be 4.5 stars.

Thank you!

Post count: 47

Thank you.
Can you help me with the Css Code for Numbering, maybe this?
https://www.flimmerkiste.net/die-besten/thriller/
This is a Top 10 List from Postings with the Tag Id nr. 57 (thriller).
Is it possible to show the Number inline the Feature Picture?
Many thanks!
KR
Frank

Post count: 35449

Ok, here is a code that you can use on that page:
.td_flex_block_1 {
counter-reset: section; /* Initialize the counter */
}
.td_module_flex::before {
counter-increment: section; /* Increment the counter */
content: counter(section) ". "; /* Display the counter value followed by a dot and space */
}

IT will be indicate to add an extra class on the block you want to use the css and replace the td_flex_block_1 that is a general class and the code will apply on all modules from those blocks (example class – https://i.imgur.com/8Pfdwlx.png)
I hope this will help you!

Post count: 47

Great this work many thanks!

One last question…ist it possible to “style” the Counter Number? Make it bigger and with color? Can I use some other css code to modify dies Number Letter?

Thank you!!!!

Post count: 27744

Hi,

You can add this to the code foe color color: #d2dae1;

.td_flex_block_1 {
counter-reset: section; /* Initialize the counter */
}
.td_module_flex::before {
counter-increment: section; /* Increment the counter */
content: counter(section) ". "; /* Display the counter value followed by a dot and space */
color: #d2dae1;
}

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.