Styling micro-experiences with CSS
Most of the look of your micro-experiences is set without code, in CRO > Branding. For anything Branding does not cover, you can add your own CSS. This is an advanced option: use it only if you are comfortable with CSS, and check the result before your visitors see it.
Before you use CSS
- Colours, fonts, corners, shadows, background and buttons are in CRO > Branding. See Applying your branding to micro-experiences.
- A card can also be a full image, a full video or your own HTML. See Creating and editing micro-experiences.
Add your CSS
- In the sidebar, open CRO.
- Under Layered MX, click Studio.
- Open the Menu tab.
- Scroll to the bottom and open Advanced Style Customization.
- Paste your CSS in the box.
- Click Save CSS.

Selectors you can use
| Element | Selector | Example |
|---|---|---|
| Button | .btn | .btn { border-radius: 10px !important; font-weight: 600; box-shadow: none !important; } |
| Button on hover | .btn:hover | .btn:hover { background-color: #5F9EA0 !important; border-color: #5F9EA0 !important; } |
| Headline font | #spotMessageWidget | #spotMessageWidget { color: #1A1D20 !important; font-family: "Roboto"; font-weight: 700 !important; font-size: 20px !important; line-height: 1.2 !important; } |
| Body font | html | html { font-weight: 400 !important; font-size: 16px !important; line-height: normal !important; } |
| Icons | #cardFramePathmonk i.material-icons | #cardFramePathmonk i.material-icons { color: #626262 !important; } |
| Minimize icon | #minimizerWidget | #minimizerWidget { color: #25EEFD !important; } |
| Top corners of the card | #textBoxFramePathmonkTabStyle | #textBoxFramePathmonkTabStyle { border-top-left-radius: 10px !important; border-top-right-radius: 10px !important; } |
| Bottom corners of the card | .bottomBorderCard | .bottomBorderCard { border-bottom-left-radius: 10px !important; border-bottom-right-radius: 10px !important; } |
These are the most common ones. To change something else, your developer can find its exact class name by right-clicking the micro-experience and choosing Inspect. If you cannot find it, contact our support team.
Add !important to a rule when it does not apply. Pathmonk's own styles may otherwise take priority.
Check the result
Open the Sandbox to see your micro-experiences with the CSS applied, on your own page, on desktop and mobile. See Testing your micro-experiences in the Sandbox.
To go back, delete your CSS from the box and click Save CSS.
