Change highlight color of text

Sometimes users will highlight text as they go through the site, and I’d like for all the text on my site to show a specific color (orange) when they highlight over text fields.

How would I do this?

Perhaps it is possible within the Hype 4 app or I can add a few lines of code into the HTML file.

Please advise!

You would just need to add a small snippet of CSS to the head of your Hype document. You can edit the contents of the <head>…</head> of your exported .html file by clicking on ‘Edit HTML Head’ in the Document Inspector.

(make sure you place it within <style> ... </style> )

1 Like

At the bottom of the linked page there is another link that goes over the process for revealing an image with a text selection. Interesting.

1 Like

Thank you Daniel for your incredible speed and resolution :slight_smile:

1 Like