# Reorder consent notice buttons (web)

By default, the "Learn more" button will be displayed *before* the "Agree" button on the sticky banner. If you use the pop-in banner format, "Learn more" will be displayed *after* "Agree".

#### ✅ Steps for changing the button order on a web notice:

* Go to **Consent notices**.&#x20;
* Go to step **2. Customization**.
* Click on **Advanced settings** then **Custom JSON**.

  <figure><img src="https://support.didomi.io/hs-fs/hubfs/New%20console%20flow/Capture%20d%E2%80%99%C3%A9cran%202023-03-09%20%C3%A0%2011.41.29.png?width=688&#x26;height=338&#x26;name=Capture%20d%E2%80%99%C3%A9cran%202023-03-09%20%C3%A0%2011.41.29.png" alt=""><figcaption></figcaption></figure>
* Add code (see below) in the Custom JSON field.&#x20;

  <figure><img src="https://support.didomi.io/hs-fs/hubfs/New%20console%20flow/Capture%20d%E2%80%99%C3%A9cran%202023-03-09%20%C3%A0%2011.42.36.png?width=688&#x26;height=341&#x26;name=Capture%20d%E2%80%99%C3%A9cran%202023-03-09%20%C3%A0%2011.42.36.png" alt=""><figcaption></figcaption></figure>

#### ✍️ Code to insert&#x20;

To change the order you need to set the value at :

* "before" for pop-in format
* "after" for sticky banner format

**Pop-in format :**&#x20;

```
{
    "notice": {
        "learnMorePosition": "before"
     }
  }


```

**Sticky banner format :**&#x20;

```
{
     "notice": {
        "learnMorePosition": "after"
      }
}
```

📰 Please refer to our [developer guide](https://developers.didomi.io/cmp/web-sdk/consent-notice/notice/look-and-feel) for more information.


---

# 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://docs.didomi.io/consent-management-platform-cmp/consent-notices/reorder-consent-notice-buttons-web.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.
