• Issue
  • Regarding the location of the voting numbers

Hello
I hope you are well

My forum URL is https://foro.arsoporte.com

I use the forum in Arabic, in other words RTL. It is hosted on FlaRoom as well.
I’ve enabled the “FoF Gamification” extension, and things are fine.

The problem is that when you vote positively on a post, the number of votes appears closer to negative votes. I mean, the number of upvotes appeared closer to the downvote button. [Here is an example]

How can I deal with it?

Thanks in advance :-)

    medelinor this seems to be because the RTL mechanic had swapped the upvote and downvote buttons, while the upvotes text remains in the same place. It is a bug in the extension and can be fixed through a CSS.

    I will report the issue to the extension author tomorrow and see if I can provide you with a temporary CSS fix that you can apply

      SKevo That would be great, and I’d be excited to hear any updates.
      Thank you very much once again

        medelinor try adding this CSS code to your Appearance settings at Administration and see if it helps, please:

        .CommentPost-votes {
            direction: ltr !important;
        }

          SKevo Thank you for your response

          I applied the code, and the following happened:
          The code changed the locations of the buttons, the positive vote button became the place of the negative vote button, and the negative vote button replaced the positive vote button.

          The problem is that the number of votes still appears in the same place. I mean, what was in the past related to the problem of the number of positive votes appearing next to the negative votes button, is now the opposite.

          In general, I don’t think this is an accurate solution. Instead, I suggest creating a custom code for the settlement number so that it is centered between the two buttons if possible.

          Generally, I will leave the code running on the site for now until you provide me with a solution.
          This was just a suggestion
          Thank you very much

            medelinor I understand. Well, rather than creating a more complicated CSS code, I believe this should be fixed at Flarum/extension level. You can use https://discuss.flarum.org/ to submit a feedback about this. I believe this will raise the awareness about your problem.

            I don’t remember that this was discussed before so this might be an unknown bug for Flarum as well and might affect more extensions, but please search for existing discussions first just in case there is already a place to discuss this kind of issue.