# How to add a custom class or an ID to a Bubble element

1. In your project settings, under General, make sure "Expose the option to add an ID attribute to HTML elements" is enabled.&#x20;

![](/files/-MXg-2OYxjSrjULXUAa8)

2\. Install Plugin Classify

![](/files/-MXg-Ao-dMtUzF0M2-Qx)

3\. Use it

Now you have access to the "ID Attribute" field. Use a special format to add a class name, ID or attribute to your Bubble element.

On the screenshot below we are adding id "section1" and a class name "spy-item":

![](/files/-MXg-DqsbOffPHucNqB9)

> Plugin page: <https://bubble.io/plugin/classify-1568299250417x684448291308175400>

> Forum: <https://forum.bubble.io/t/classify-a-tiny-plugin-that-brings-css-power-to-bubble/67741>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bubble.digital-bird.com/classify.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
