How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support Right To Left – Numbering in casino table

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8415
    discoman
    Participant

    Hi Poke,
    In Mobile view, in RTL mode, how can I move the table numbering to stick to the right side (using CSS) ?

    https://ibb.co/bgQpfLj

    Thanks.

    #8499
    admin
    Keymaster

    Hi!

    You can add in your CSS the following:

    `@media (max-width: 575px) { .table-s1 .item .count { left:auto; right:5px; } }`

    #8505
    discoman
    Participant

    Thanks Poka!
    Any option to change the numbering (1,2,3…) to Arabic numbers (١, ٢, ٣…)?

    #8526
    admin
    Keymaster

    Hi!

    You can copy the tablelist() function in your child theme and then before the $count is printed you can do the following:

    `$western_arabic = array(‘0′,’1′,’2′,’3′,’4′,’5′,’6′,’7′,’8′,’9’);
    $eastern_arabic = array(‘٠’,’١’,’٢’,’٣’,’٤’,’٥’,’٦’,’٧’,’٨’,’٩’);

    $count = str_replace($western_arabic, $eastern_arabic, $count);`

    #8546
    discoman
    Participant

    Is that the correct place? https://ibb.co/02wZ5hd
    Is so, it doesn’t work for me…

    Please advice.

    #8553
    admin
    Keymaster

    No, it should be inside the loop.
    You should add it after:

    `($table_query->have_posts()) : $table_query->the_post();`

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