top of page
Crumpled Fabric

0

Custom Text Highlighter Color in Wix Studio

Click URL to copy

Nov 4, 2024

3 min read

WIX Ideas Team

Tags: Custom Text Highlighter Color in Wix Studio Wix Studio CSS tips Branding your Wix site with CSS Custom selection color in Wix Wix Ideas tutorial Wix Studio Wix Studio Coding CSS



Hello, Wix enthusiasts! Welcome to Wix Ideas, your go-to destination for actionable web design tips and tricks. I'm Walter, and today, I'm going to show you how to take your Wix Studio website to the next level with a unique feature: a custom text highlighter that uses your brand colors! Gone are the days of settling for the default blue selection highlight; instead, you can make every aspect of your site resonate with your brand identity. Ready to add that special touch? Let's dive in!


Why Customize Your Text Highlighter in Wix Studio?

When site visitors interact with your content, even in small ways like selecting text, they’re engaging with your brand. By swapping out the default blue highlight with a color that reflects your brand, you create a seamless and memorable experience. This little change can go a long way in building your brand’s unique aesthetic and strengthening the connection with your audience. Plus, it’s a quick update that makes your site stand out!


What You’ll Need

This tutorial will only require a small amount of CSS code, making it beginner-friendly for anyone who’s looking to make custom tweaks on Wix Studio. Whether you're running an online store, a blog, or a service-based business, this little code snippet will ensure your text highlight color aligns perfectly with your brand.


Step-by-Step Guide to Adding a Custom Text Highlighter

Here’s how to customize the text selection color on your Wix Studio site using CSS:

  1. Open Global CSS Settings:

    • Head over to your Wix Studio editor.

    • Locate and open the "Global CSS" section, where we’ll be adding the custom code.

  2. Adding Your Custom Selection Code:

    • Copy and paste the CSS code below into the Global CSS section:

    • In the code:

      • Replace #6a1b9a with the hex code of your brand's primary color.

      • The !important flag ensures that these style changes override default settings.

      • Here, the selection background color will match your brand, and the text color will change to white for readability.

  3. Ensuring Compatibility with Firefox:

    • Firefox requires an additional tweak to recognize custom text highlighter colors. To ensure consistency across browsers, add this line directly below your initial code:

    • This line specifically targets Firefox, ensuring that your custom text highlight displays correctly on that browser too.

  4. Preview and Test:

    • Now, it’s time to see your work in action! Go to the preview mode and try selecting any text on your website.

    • You’ll notice that the selection color now reflects your brand’s color scheme, adding a cohesive and engaging touch to your site.


Extra Tips for Perfecting Your Brand's Look

  • Experiment with Text Colors: If white doesn’t suit your brand, feel free to change the text color to something that complements the background.

  • Test Across Devices: Always check how the custom text highlighter looks on mobile and desktop to ensure a uniform experience.


Final Thoughts:

Using your brand color for text highlighting is a small but effective way to make your website look professional and memorable. It shows attention to detail, which can impress visitors and encourage them to explore further. I hope this tutorial helped you add an extra layer of personalization to your Wix Studio site!


If you enjoyed this guide, be sure to subscribe to Wix Ideas on YouTube. Like this post, share it with fellow Wix users, and leave a comment to let us know if this tutorial helped you! Also, if there are any other design tweaks you’d like to see covered, don’t hesitate to reach out.


Thank you for stopping by Wix Ideas. Until next time, happy designing!




Code



Leave a comment (0)

Thanks for leaving a comment🎉

RELATED TUTORIALS 🚀

Print Any Page on Wix

Print Any Page on Wix

Allow your site visitors to click on an icon to print any page on your Wix or Wix Studio website

bottom of page