How to change the background color of selected text?

This topic has 8 replies, 3 voices, and was last updated 11 months, 3 weeks ago ago by Tony Rodriguez

  • Avatar: welead
    welead
    Participant
    May 19, 2023 at 09:02

    Hello,
    My text is white but the background color of the selected text is too similar to the text, how can I change it?

    https://prnt.sc/IU_vcG5Q_h4E

    Thank you.

    7 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    May 19, 2023 at 09:15

    Hello @welead,

    We would appreciate it if you could provide us with the page URL, as well as the WordPress Admin URL and credentials, in the private content area of this topic. This will enable us to investigate and assist you further.

    Best Regards,
    8Theme’s Team

    Avatar: welead
    welead
    Participant
    May 19, 2023 at 09:20

    Thanks.

    Please contact administrator
    for this information.
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    May 19, 2023 at 09:47

    Hello, welead,

    We are unable to access your site as it is currently in maintenance mode. To enable us to investigate and assist you further, please provide the WordPress Admin URL and credentials in the private content area of this topic.

    For reference, please see the image provided at the following link: https://postimg.cc/JGMWtx9Y

    Thank you for your cooperation.

    Best Regards,
    8Theme’s Team

    Avatar: welead
    welead
    Participant
    May 19, 2023 at 10:25

    Thank you.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 19, 2023 at 12:34

    Hello Welead,

    Thank you for your response.

    The next custom CSS code can be used:

    ::selection {
        color: #222;
        background-color: wheat;
    }

    Theme Options > Theme Custom CSS > Global.

    Best Regards,
    8Theme’s Team

    Avatar: welead
    welead
    Participant
    May 22, 2023 at 04:35

    OK! Thank you!!

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    May 22, 2023 at 05:08

    Hello @welead,

    We are delighted to hear that our proposed solution was able to assist you in resolving your issue. Please do not hesitate to reach out to us if you require any further assistance.

    Thank you for contacting us.
    Have a great day.

    This topic is now closed.

    Best Regards,
    8Theme’s Team

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘How to change the background color of selected text?’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.