Hello Osmo
← All article

Change the text selection color in Webflow

Select a sentence on your website. The browser's default blue might be the only color you didn't choose.

The ::selection style lets you set the background and text colors people see when they select text.

Add it in Webflow

  1. Open Site settings → Custom code.
  2. Paste this into Head code:
<style>
  ::selection {
    background-color: #222222;
    color: #FFFFFF;
  }
</style>
  1. Replace #222222 with your preferred selection background. Set #FFFFFF to a text color that's readable against it.
  2. Save and publish. Select a few lines on the published website to check the contrast.

This applies across your Webflow website.

‍

Automatically update your footer year in Webflow
Resources
November 11, 2026

Automatically update your footer year in Webflow

Add a custom attribute and a short script in Webflow to keep your footer year current.
Match the browser toolbar to your Webflow website
Resources
November 11, 2026

Match the browser toolbar to your Webflow website

A small JavaScript snippet keeps your footer year current, so January doesn't come with another website task.
Who is gonna suffer from the complexity
Engineering
November 11, 2026

Who is gonna suffer from the complexity

An easy-to-use website takes work somewhere. The question is whether your development team does that work or leaves it for your visitors and the people managing the website.

Ready to get started?

Incroy brings your business to life online with a site that’s modern, functional, and built the right way, from the first step to the final launch. We’re ready and raring to go when you are.

Chat with us

Heading