惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Vercel News
Vercel News
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
雷峰网
雷峰网
有赞技术团队
有赞技术团队
罗磊的独立博客
博客园 - 叶小钗
Jina AI
Jina AI
博客园 - 司徒正美
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Tailwind CSS Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
人人都是产品经理
人人都是产品经理
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
Microsoft Security Blog
Microsoft Security Blog
大猫的无限游戏
大猫的无限游戏
量子位
MyScale Blog
MyScale Blog
V
Visual Studio Blog
博客园 - 聂微东
The Cloudflare Blog
Engineering at Meta
Engineering at Meta
小众软件
小众软件
宝玉的分享
宝玉的分享

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Zoho Creator Custom Styling: The Ultimate CSS Injection Hack
Rick van der · 2026-05-14 · via DEV Community

Rick van der Linden

Zoho Creator is a powerhouse for business apps, but its default design options can feel rigid. If you've ever struggled to match a form to your brand guidelines, you're not alone. This simple Deluge 'hack' lets you inject custom CSS directly into your forms.

Quick details

  • App: Zoho Creator
  • Complexity: Medium (Deluge + CSS)
  • Function Output: Fully branded/customized Form UI.

The Challenge: Zoho Creator's Rigid Default UI

Usually, you would style a website using a CSS stylesheet loaded in the header. Unfortunately, Zoho Creator doesn't allow this. You are stuck with basic 'Design' tab options that often fail to deliver the professional look your users expect.

Manually, you can change a few colors in the editor. However, if you want rounded input fields, custom shadows, or specific header gradients, you will run into a wall. The system simply doesn't provide the toggles for advanced UI customization.

The trick is using an 'Add Notes' field as a hidden container to inject a CSS <style> block via a Deluge On Load workflow.

The Solution: Injecting CSS via Deluge

Below is the boilerplate script. We create the CSS stylesheet as a string and push it into the 'Add Notes' field. Instead of showing text, Creator will load the style and transform your form instantly.

hide styling; 
css = "<style>"; 
css = css + "*ANY CSS YOU WANT TO ADD GOES HERE*"; 
css = css + "*NEXT STYLE HERE*"; 
css = css + "</style>"; input.styling = css;

Prerequisite Check

  • An Add Notes field placed anywhere in your form (e.g., named styling)
  • A Workflow set to run on "Created or Edited" -> "Load of the form"

IMPORTANT: Always use the !important tag if your styles aren't appearing, as Zoho’s default CSS is very 'heavy' and needs to be explicitly overridden.

Also: due to security reasons, some styles are stripped out and won't work at all!

Step-by-Step Implementation

  1. Add the Add Notes field: Anywhere in your form, drag an "Add Notes" field. I always like to call it something like "styling".
  2. Create Workflow: Create an "On load" workflow for this form.
  3. Paste the Code: Copy the script above and paste it.
  4. Update Placeholders: Replace the placeholders with your actual values (see below).
  5. Trigger the Script: Load the form in your Creator application.

Applying Modern Styling (Example)

I'm using the standard "Apply leave" form template to show this.

Step 1: Add the Add Notes field

The first step is to add an Add Notes field to the form. I always like to put it at the very top, but it doesn't really matter where you put it, as we're going to hide it anyway: it's not going to be visible in the form. Give the field a logical name, for instance "styling".

Step 2: Create a new workflow

Now, create a new workflow. Select the form you just inserted the Add Notes field in (in my example, this is the Apply Leave form). This workflow should always run when the form is opened, so select "Created or Edited" for Run when a record is... Then, select "Load of the form" from the dropdown menu next to When to trigger workflow. Finally, give it a logical name, like "form styling" and press "Create Workflow".

Step 3: Find the correct CSS classes

Let's say we want to change the background and color of the headings and have rounded input fields with a drop shadow. First, we need to know what the CSS code should be. For this, I use the Inspector that is built into any web browser: right-click on the element that you would like to change and select "Inspect". For this example, this is the CSS we would like to insert:

/*Background of form header*/
.form-header {
    background: #228b22;
}
/*Font color of form header*/
.form-title {
    color: white !important;
}
/*Font color of section header*/
.form-section h2 label.section-label {
    color: #228b22;
}
/*Rounded fields with shadow*/
.form-control {
    border-radius: 10px;
    box-shadow: 1px 1px 5px grey;
}

Step 4: Enter the styling code

The above CSS then looks like this in Deluge:

hide styling;
css = "<style>";
// Background of form header
css = css + ".form-header {background: #228b22;}";
// Font color of form header
css = css + ".form-title {color: white !important;}";
// Font color of section header
css = css + ".form-section h2 label.section-label {color: #228b22;}";
// Rounded fields with shadow
css = css + ".form-control {border-radius: 10px; box-shadow: 1px 1px 5px grey;}";
css = css + "</style>";
input.styling = css;

Simply paste this code into the workflow and you're good to go! Once you have saved the workflow, the form should change:

From this:

To this:

Of course, there are many more options than just this and the styling of this example is also not perfect: some small tweaks are still necessary to have the Calendar and Envelope symbols not overlap the now rounded edge of the fields.

Variations

This is a very simple example. There are many things you could do using this method, including:

  • Dynamic styling: Overwrite the Notes field with different styling using other triggers, such as "On user input". This immediately changes the CSS of the form. You could even use multiple Notes fields for granular control.
  • Creating buttons: Style a Decision field to look like a button.
  • Create tabs: Style a Checkbox field to look like tabs, and use hide and show actions based on which "tab" is clicked.
  • Hide the Submit and Reset buttons: Targeting the Footer, or the buttons separately allows you to hide these buttons, for instance until a certain field is filled.

Want to try Zoho?
Start your free Zoho Creator trial or explore the entire suite with a Zoho One trial.

Final Conclusion: Elevate Your User Experience with Custom Design

A professional-looking form builds trust. By moving beyond the default Zoho Creator constraints, you can build applications that don't just work well—they look amazing.


This article was originally published on GreenStayn. For more Zoho Creator tutorials and UI hacks, visit the GreenStayn Hub or Book a Free Consultation.