---
title: Element attributes
project: CMS
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/cms/1-0/guides/element-attributes/
updated: 2026-11-19T04:30:14.166Z
---

# Element attributes

> Change the classes, styles, spacing and colours of one element.

The attributes editor changes the look of a single element on a page.

## Open the attributes editor

1. Open the page in the [visual editor](../visual-editor/).
2. Click the element.
3. Click **Change attributes** in the floating panel.
4. Change the fields and click **APPLY**.

## Fields

| Field | What it does |
|---|---|
| **Class names** | CSS classes of the element |
| **Element ID** | The ID of the element. **Generate from the content** creates one from its text. |
| **Tooltip** | Text shown when the pointer rests on the element |
| **Custom styles** | Your own CSS for this element |
| **Margin** and **Padding** | Space around and inside the element, for each side |
| **Border radius** | Rounded corners, for each corner |
| **Text color**, **Background color** and **Border color** | The colours of the element |
| **Source URL** | The address of the content that the element loads. **Browse files** picks an uploaded file. |
