How to change highlighted text color - by Rokas

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

  • Avatar: Rokas
    Rokas
    Participant
    April 15, 2025 at 13:34

    Hello, I would like to change text color when highlighted, but can’t find correct setting location. Could you help me with that?

    2 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 15, 2025 at 13:36

    Hello, Rokas,

    You can change the highlight color by adding custom CSS to your website. Please try adding the following code to your theme’s custom CSS section:

    ::selection {
    background-color: blue;
    color: white;
    }

    Best regards,
    8Theme’s Team

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    April 15, 2025 at 13:45

    Dear Rokas,

    In the spirit of gratitude, we want to express our appreciation for your trust in our products. As a valued customer, your experience matters greatly. Would you consider sharing it by giving our theme a deserving 5-star rating on ThemeForest?

    Click here to share your thoughts: https://themeforest.net/downloads

    Being part of our community means a lot, and your feedback contributes immensely.

    Best Regards,
    The 8Theme Team

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

The issue related to '‘How to change highlighted text color’' 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.