You can change NetSuite CSS in four main places, and the right method depends on what you're restyling: forms and records use SuiteScript client scripts or a custom theme, SuiteCommerce uses its own theme extension files, Site Builder sites use the built-in Custom CSS field, and email and PDF templates accept inline or embedded CSS. The key condition is that NetSuite's core UI (the back-office interface itself) is largely off-limits to CSS editing, so most requests are really about the customer-facing surfaces you control. Pick the surface first, then follow the matching steps below.

NetSuite doesn't hand you a stylesheet for its native interface. What it does give you is a set of extension points: scriptable DOM access on forms, themable storefront files in SuiteCommerce, a custom CSS box in Site Builder, and template-level styling for outbound documents. Knowing which extension point applies saves hours of trial and error, because a technique that works on a web store will do nothing on a record page, and vice versa.

Find out which NetSuite surface you're actually styling

Before touching a single selector, identify the surface. The four you'll meet most often behave very differently.

Native back-office records and forms. These are transactional pages like sales orders, customer records, and custom entry forms. You can influence the DOM through SuiteScript, but NetSuite controls the surrounding chrome, and every account upgrade can shift markup. Treat any styling here as decorative and non-critical.

SuiteCommerce and SuiteCommerce Advanced (SCA). This is NetSuite's modern ecommerce stack. Styling lives in a theme extension with Sass and template files, deployed through the SuiteCommerce configuration and the extension manager. This is the most robust place to do real CSS work.

Site Builder. NetSuite's simpler hosted site builder exposes a Custom CSS field in the site theme settings, plus some per-page options. It's limited but straightforward.

Email templates, PDF/HTML templates, and printed forms. These accept embedded styles, and because they render outside the main app, you can style them freely within email-client and PDF-renderer constraints.

A quick check: if the page URL contains a commerce domain and the theme is a SuiteCommerce extension, you're in SCA territory. If you're editing a record inside /app/accounting/..., you're on a native form. If the site settings show a single Custom CSS text area, it's Site Builder. If the output is an email or a printed invoice, it's a template.

Prerequisites before you change any CSS

Gather these first, because missing any one of them is the usual reason a change appears to do nothing.

Role and permissions. Sandbox or release-preview access, plus permission to edit the relevant customizations: SuiteScript deployment, Site Builder settings, or SuiteCommerce extensions depending on surface. A sandbox copy. Never develop styling against production. NetSuite sandboxes let you refresh from production, so build there and migrate. A staging or preview path for SuiteCommerce. SCA supports activation of extension versions, so you can stage a theme update without immediately affecting shoppers. Browser developer tools. You'll need to inspect live DOM to find the actual classes in use, since NetSuite markup differs by surface and version. Version awareness. SuiteCommerce and Site Builder have changed themes and DOM structure across releases. Record the release your account runs so your notes stay accurate.

One caution that matters more than any selector: NetSuite can change internal DOM structure without notice, and it does so across upgrades. Anything that reaches into NetSuite's own markup through scripting is fragile by design. Style what you own, and prefer supported configuration over clever hacks.

Method 1: Customize SuiteCommerce and SCA themes with Sass

This is the recommended approach for storefront styling and the one that survives upgrades best.

1: Locate the active theme extension. In the SuiteCommerce configuration, identify the theme extension currently applied. Themes are bundled as extensions, and the standard reference theme (often called a base or "SuiteCommerce" theme) is the usual starting point. 2: Create a child theme or copy the theme extension. Rather than editing the shipped base theme, copy it or extend it so upgrades don't overwrite your work. Keep a clear naming convention such as MyStore-Theme. 3: Find the Sass entry point. SCA themes use Sass (.scss) files compiled into the theme's CSS. The main variables and component partials live under the theme's styles directory. Global variables for colors, fonts, and spacing are usually collected in a variables partial. 4: Override variables first, components second. Change brand colors, type scales, and spacing through variables. Only write new selectors when a component genuinely needs restructuring. This keeps overrides small and readable. 5: Edit templates only when markup must change. If a layout change requires new classes, edit the theme's template files (typically .tpl files) alongside the styles. Keep markup and style changes in the same commit so they're easy to review. 6: Compile and deploy. Use the SuiteCommerce extension tooling to build the theme, then deploy the extension version to your sandbox domain for review. 7: Check success. Load the storefront in a private browser window, confirm the new styles appear, and verify the compiled CSS is being served rather than cached old files. If nothing changed, the extension version probably wasn't activated or the theme wasn't switched.

The reason to prefer variables is arithmetic and maintenance: one color variable change cascades across every component that references it, while a hardcoded hex in ten selectors has to be changed ten times and will drift. Sass also lets you use functions like lighten and darken so a single base color yields a consistent palette.

A practical example: to restyle the primary button, find the button component partial, check which variable drives its background, and override that variable in your child theme. If the component doesn't expose a variable, add a scoped selector using the component's existing classes rather than guessing at generated class names.

Method 2: Use SuiteScript to style native forms and records

For back-office forms, SuiteScript is the supported hook. You can't replace NetSuite's core stylesheet, but you can inject styles and classes into the page from a client script.

Prerequisite: a client script file deployed to the relevant record type, with the page-init or page-render entry point available, and the script attached to the form or record.

1: Write a client script with a page-init entry point. Use the standard client script structure with a pageInit function. 2: Inject a style element. Create a