ποΈStyle Your Widget (Start Here)
Copy one block of CSS, change a few colors at the top, and the CrowdWork widget matches your website. Light and dark versions included, no coding knowledge needed.
Your CrowdWork widget looks good the moment you embed it. One block of CSS makes it look like your website, and the only part you edit is the top few lines.


Before You Start
Your widget is already on your website. If not, start with Embedding a Widget and come back.
You know your brand colors as hex codes: a
#followed by six letters or numbers, like#8c1c3c. Your website builder's color or theme settings usually show them, or ask whoever designed your logo.The kit only changes the CrowdWork widget. The palette only sets color and size values, and every rule in the engine starts with
.fw-embed,.fw-embed-wrapor#fwCalendarModal, the names the widget uses for itself, so the rest of your website stays exactly as it is.
Step 1: Copy the Starter Kit
Edit the top section. Leave the engine alone.
Step 2: Put In Your Colors
--cw-brand
Dates on cards, the calendar arrow buttons and the Purchase button
The color of your site's buttons or links.
--cw-accent
The price and Only 6 left labels on cards
Pick something that reads on top of a photo.
--cw-bg
The area behind the whole widget
Leave it transparent unless you want a panel behind the widget. The calendar has no card of its own, so its month title and day numbers sit right on this area. If they're hard to read against your page, set it to your --cw-card color.
--cw-card
The background of each card and of the calendar popup
White or near-white on a light site; a shade lighter than your page on a dark one.
--cw-text
Event names and descriptions
Near-black on light cards, near-white on dark ones.
--cw-muted
Calendar day numbers and the date line in the popup
A softer version of your text color that is still easy to read.
--cw-line
Dividers and calendar grid lines
A faint shade just off your card color.
--cw-font
The font for all widget text
inherit means your website's font, or write a font stack like Georgia, serif.
--cw-radius
How rounded the corners are
Use 0 for square corners.
--cw-brand-text
Text on top of your brand color
If the button text is hard to read, try white (#ffffff) or near-black (#17171c). The dark palette uses near-black on its bright pink.
--cw-accent-text
Text on top of your accent color
Only needs changing if your accent color is light.
Step 3: Paste It Into Your Site
The easiest place works on every website builder: right above your widget code, in the same block where you pasted it.
Open the page with your widget in your website editor, and open the block that holds the widget code (the Code, Embed, HTML or Custom HTML block).
Click at the very start of the widget code, before
<div><script, and paste your CSS there, wrapped in<style>and</style>tags.Save and publish, then check the page on your live site.
Here's what the block looks like with the kit added. The widget code underneath is a sample; keep your own.
On a Dark Website?
Swap the palette section of Step 1 for this one and keep the engine.


The kit styles the Calendar view and its event popup too, not only cards.
The Same Widget, Three More Ways
Every styled image on this page is the same engine with different values at the top. The last two are here to prove the point; please don't ship them.



Troubleshooting
Nothing changed? Look at the published page, not the editor, and refresh it. If your site uses caching, give it a few minutes.
Still nothing? Make sure each color starts with
#, and that every line in the palette ends with a semicolon, like--cw-brand: #8c1c3c;. One missing character can stop the whole kit.Only some things changed? Check that you pasted the whole kit, from the first line of the palette to the last line of the engine.
Your CSS shows up on the page as text? It needs
<style>and</style>tags around it when you paste it above the widget code.Nothing changed, but the page reloaded fine? You pasted the palette without the engine. Paste the whole Step 1 block.
Two different looks fighting? The kit is on the page twice. Keep one.
Use an AI Assistant
An AI assistant like ChatGPT, Claude or Gemini can look at a screenshot of your website and fill in the palette for you. Style Your Widget With AI has a ready-made message to copy, with a spot at the top for your website address, and walks you through the rest.
Notes for AI Assistants
This section is written for AI assistants helping a theatre style the widget. Readers can skip it.
Edit only the palette. Fill in the 11 variables in the
:rootblock from Step 1 (--cw-brandthrough--cw-accent-text) using the table in Step 2. Copy the engine below the palette exactly as written. Don't shorten, rewrite or "improve" it.Return one block. The palette, then the full engine, wrapped in
<style>and</style>, so it can be pasted above the widget code in a single step. Mention that the tags are left out when pasting into a site-wide Custom CSS box.Keep text readable.
--cw-texton--cw-card,--cw-brand-texton--cw-brand, and--cw-accent-texton--cw-accentshould each reach a 4.5:1 contrast ratio.--cw-mutedon--cw-cardshould too, since it carries the calendar day numbers.Match the site's style. Use the site's button or link color for
--cw-brand. Leave--cw-fontasinheritso the widget uses the page's own font; name a font only if the widget should differ from the text around it. Match--cw-radiusto the site's buttons (0for square).Dark websites. Start from the dark palette in On a Dark Website?. Leave
--cw-bgastransparentunless the calendar's month title or day numbers would be hard to read against the page, in which case set it to the--cw-cardcolor.Take colors from what you can see. Many page-reading tools return a website's text but not its styles. Use an attached screenshot for exact colors. If you had to estimate any color, say which ones, rather than presenting them as read from the site.
Beyond colors. For layout changes (hiding descriptions, phone-only tweaks, styling one widget differently from another), use the Widget CSS Reference (Advanced). Every selector must start with
.fw-embedor#fwCalendarModal, the calendar popup, which sits outside.fw-embed.Explain in plain words. The person asking is usually not a web developer.
Want to Go Further?
The Widget CSS Reference (Advanced) covers shorter cards, flat cards, styling one widget differently from another, and tweaks for phones only.
Last updated
Was this helpful?