• Resolved KJA4U

    (@kja4u)


    Hi
    I have a wordpress website in Arabic. All pages and posts are right to left style. I installed HDQuiz plugin and wanted to make a quiz for my student, the direction of English text appears right to left too. Is there a way to make the quiz context appear left to right as it’s supposed.
    See the screen shot for more clarification.
    https://i.ibb.co/MPwr9S5/hdquiz.jpg

    Best regards,
    Khaled

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Harmonic Design

    (@harmonic_design)

    Hi Khaled,
    as you’ve noticed, HD Quiz inherits the fonts and stylings of your theme. Since your site is set to Arabic which is RTL, HD Quiz is Right-to-left as well.

    I cannot know for certain if the following will work since I’d need to see your site, but adding the following CSS to your site should force LTR text.

    .hdq_quiz_wrapper * {direction: ltr !important}.

    You can add custom CSS in most themes by going to appearance -> customize -> custom CSS

    Thread Starter KJA4U

    (@kja4u)

    It worked fine. I really appreciate your assistance, harmonic_design. One more question please, the timer indicator appears at the bottom right corner, for my site it would be better to be at the top or at least any position on left side of the quiz.

    Greetings
    Khaled

    Plugin Author Harmonic Design

    (@harmonic_design)

    More CSS to the rescue ??

    .hdq_timer {right: inherit !important; left: 1rem !important;} would force it to the bottom left.

    Thread Starter KJA4U

    (@kja4u)

    Amazing! Thanks, the quiz now is more comfortable to be taken. I was wondering if it’s also possible to have the current active question to be answered in the quiz to be featured by a specific font color, backdrop color, frame color or any thing that could be done by CSS. If this is not easy, is it possible to show only one question at once, and as soon as it gets answered the quiz displays the next question.

    Best Regards for your great efforts
    Khaled

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Englis text alignment is right to left, please help!’ is closed to new replies.