Issues and request for rating system on Newspaper theme

Posted in: Newspaper
Post count: 8

Hello,
I’ve finished an important project for a client using your excellent theme.
Client is very happy with the final result (can be viewed here http://www.bicidastrada.it) but reported an issue with rating system that I would like to fix for him.
He says that the total figure given by single ratings is not correct mathematically. I’ve checked and it’s true in fact. You can check an example here:

If I add 9,2+9+9,5+10 total would be 37,7 divided by 4 is 9,425 and not 9.3 as shown.
Could you please tell me how to fix this?

Also, he would like to know if it’s possible to add sytles and add line breaks as well to the final verdict. How could this be achieved?

Thank you very much for your assistance.

Best regards,
Claudio

Post count: 20688

Hi,

Indeed, it seems to be a problem when you use “,” in the value. For me as well
https://www.screencast.com/t/bFWR9p4xymwV
If I use “.” in the value, the result seems accurate
https://www.screencast.com/t/Qfs5rbnwx

So it would be better to try and use values like this: “9.2” instead of “9,2” for accurate results. Sorry for the inconvenience.

Thanks

Post count: 8

Oh ok I’ll try that then! thanks!!!

As for the other question about formatting text? Would it be possible?

Post count: 20688

Hi,

Seems I missed that last question, sorry for that. You could add br tags inside the description, like this
https://www.screencast.com/t/buwbrETgqyWs
That section does not have an actual text editor at the moment. Maybe also wrap that text in a div or span to style it as well. So HTML and some CSS would work there.
https://www.screencast.com/t/vJCh50DUFU
https://www.screencast.com/t/1mMcqCQJ48
Let us know if you have more questions.

Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.