Support » Plugin: Quiz And Survey Master - Best Quiz, Exam and Survey Plugin for WordPress » Contrast ratio of #fff and #3498db for the button is too low – Google Lighthouse

  • Resolved a4jp . com

    (@a4jpcom)


    The Google Lighthouse audit in Chrome says the contrast ratio of the colors is too low and not good for accessibility. Because of this we get a lower Google ranking. Can you increase the contrast ratio by making the default button color button darker? I tried to do it by adding custom CSS but the code you have in the plugin contains !important so it doesn’t work. Any updates to either make the color darker or remove the CSS blocking code would be great.

    qmn_primary.css:393

    .qmn_quiz_container .qmn_btn, .qmn_quiz_container .btn {
        color: #fff !important;
        background: #3498db !important;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support expresstechsupport

    (@expresstechsupport)

    Hi,

    Welcome to Qsm Support Forum. Hope you are having a great day.

    Please expect a little delay in response as I am little unwell. I will get back to you as soon as I feel a little better.

    Kind regards,
    Kriti

    That’s okay but hope you get well soon Kriti.

    Thank you for the quick reply.

    Regards,

    Glen

    Plugin Support expresstechsupport

    (@expresstechsupport)

    Hi Glen,

    I am feeling a bit better now.

    To override the !important CSS syntax, you need to add the parent CSS selectors followed by that particular CSS selector which you want to edit with CSS.

    Please let me know if you need further assistance.

    Regards,
    Kriti

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