---
updatedAt: 2026-07-12T23:05:23.000Z
agentTools:
  siteIndex: https://docs.readme.com/llms.txt
  siteSearch: https://docs.readme.com/agentSearch?query=term1%20term2
  projectIndex: https://docs.readme.com/ent/llms.txt
  projectSearch: https://docs.readme.com/ent/agentSearch?query=term1%20term2
---

# Custom HTML/CSS/JS

Apply custom HTML, stylesheets, JavaScript, and include tags across projects 

Set appearance changes at the Enterprise Group level to apply them to all projects within that group. This lets you write your styles once and keep a consistent look across your entire documentation portal.

<Image src="https://files.readme.io/6f56b27-Custom_Appearance_Enterprise_GIF.gif" align="center" />

<br />

***

## How Group Styles Apply

Enterprise Group CSS rules apply to all project's custom stylesheet rules. They do not overwrite child project styles. Instead, ReadMe applies group styles before project styles, so a child project's own rules take precedence where they overlap.

<TableMin border={false}>
  <TableHead>
    <TableHeadCell width="30%">**Setting**</TableHeadCell>
    <TableHeadCell width="70%">**Behavior**</TableHeadCell>
  </TableHead>
  <TableBody>
    <TableRow>
      <TableCell>**Custom Stylesheet**</TableCell>
      <TableCell>Group CSS applies before child project CSS across all projects. Child rules override where they conflict.</TableCell>
    </TableRow>
    <TableRow>
      <TableCell>**Custom JavaScript**</TableCell>
      <TableCell>Group JavaScript runs across all child projects.</TableCell>
    </TableRow>
    <TableRow isLast={true}>
      <TableCell>**Include Tags**</TableCell>
      <TableCell>Group-level include tags apply across all child projects.</TableCell>
    </TableRow>
  </TableBody>
</TableMin>

<Callout icon="fad fa-paintbrush" theme="info">
  ### Styling a single project?

  To customize an individual child project's appearance, use the **Appearance** section within that project's dashboard. See <Anchor target="_blank" href="https://docs.readme.com/main/docs/design-themes">Project Customization</Anchor> for guidance.
</Callout>

***

## Custom HTML

Add HTML to your docs' `<head>` (for meta tags or external resources) or just before `</body>` (for analytics and tracking scripts). Group-level include tags apply across all child projects automatically.

See <Anchor target="_blank" href="https://docs.readme.com/main/docs/custom-css-and-javascript#custom-include-tags">**Custom HTML**</Anchor> for more information.

***

## Custom CSS

Write CSS to control the appearance of your docs. Use `.rm-` prefixed selectors — hashed class names change frequently and aren't reliable targets. Group CSS loads before child project styles; project-level rules take precedence where they overlap.

See <Anchor target="_blank" href="https://docs.readme.com/main/docs/custom-css-and-javascript">**Custom CSS and JavaScript**</Anchor> for more information.

***

## Custom JavaScript

Add JavaScript to extend the behavior of your docs. Your script loads at the bottom of the page and runs across all child projects. ReadMe exposes global variables you can reference in your scripts, such as `RM_ReferenceSidebarScrollTopOffset` for controlling sidebar scroll behavior.

See <Anchor target="_blank" href="https://docs.readme.com/main/docs/custom-css-and-javascript">**Custom CSS and JavaScript**</Anchor> for more information.

<br />

# Sibling pages

* [Global Landing Page](https://docs.readme.com/ent/docs/creating-a-global-landing-page.md)