How to change the text background color when text is selected

This topic has 5 replies, 3 voices, and was last updated 3 months, 3 weeks ago ago by Andrew Mitchell

  • Avatar: JoHuCa
    JoHuCa
    Participant
    July 18, 2024 at 16:36

    Hello 8theme Engineering
    Please guide me:
    1. How to change the text background color when text is selected, to copy or change text formatting, and also to make it easier for users to see when they interactively select pieces of text.
    2. How can I insert charts into my website?
    3. The content of my articles often has to insert chemical formulas. Please how can I do it?
    Best regards,

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    July 19, 2024 at 08:33

    Hello @JoHuCa,

    Thank you for reaching out to us with your queries. We’re here to assist you with each of your requests.

    1. **Changing the Text Background Color When Text is Selected:**
    To change the background color of text when it is selected, you can use CSS. Here’s a simple example of how you can achieve this:

    
    ::selection {
    background-color: #ffb7b7; /* Change the color to your preference */
    color: #000000;
    }
    

    2. For the charts, you can try with the following plugins:

    https://wordpress.org/plugins/graphina-elementor-charts-and-graphs/
    https://wordpress.org/plugins/visualizer/

    Please note that any issues related to the 3rd party plugins must be directed to plugin’s author. They fall out of scope our support standard.

    3. Please explain more, we’re still not clear on this.

    Best Regards,
    The 8Theme Team.

    Avatar: JoHuCa
    JoHuCa
    Participant
    July 19, 2024 at 16:21

    Thank you for your instructions
    Item number 3, specifically:
    How can I insert and format superscripts and subscripts or special characters commonly used to write chemical reactions.
    Please see the photos in the attached file on the last page for better clarity.
    Best regards

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    July 19, 2024 at 16:55

    Hi @JoHuCa,

    We invite you to try with this plugin: https://ltheme.com/add-subscript-and-superscript-characters-in-wordpress/.

    Hope it helps!

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    August 1, 2024 at 11:40

    Dear JoHuCa,

    We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.

    Click here to rate now: https://themeforest.net/downloads

    Thank you sincerely for your ongoing support!

    Best Regards,
    The 8Theme Team

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

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

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