# Customise 'Add Event' Button in Composer

**URL:** <https://meta.discourse.org/t/customise-add-event-button-in-composer/287892>\
**Category:** Product Support\
**Created:** [December 7, 2023, 9:22pm UTC](https://meta.discourse.org/t/customise-add-event-button-in-composer/287892 "2023-12-07T21:22:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![martyn\_thomas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martyn_thomas/32/344874_2.png) [@martyn\_thomas](https://meta.discourse.org/u/martyn_thomas)\
**Post date:** [December 7, 2023, 9:22pm UTC](https://meta.discourse.org/t/customise-add-event-button-in-composer/287892/1 "2023-12-07T21:22:07Z")

</div>

Hi

New Discourse Admin here (been roped into doing a 2.4 to 3.\* migration) - sorry in advance for the silly questions:

I’m trying to customise the date picker in the composer window.

In our 2.4 install it displays as ‘Add Date and Time’, but in 3.1 it’s just to calendar icon.

I’ve worked out that the button needs to following changed:

The button’s class to be changed from:

` class="add-event btn no-text btn-icon"`

to

`class="add-event btn no-text btn-icon"`

and a span to be added into the button

`<span class="d-button-label">Add Date and Time<!----></span>`

So it goes from

![image](https://global.discourse-cdn.com/meta/original/4X/7/8/4/784a5c68af108b4b2d4bfbdfa936ab4a05ba0ea3.png)

to

![image](https://global.discourse-cdn.com/meta/original/4X/b/d/6/bd6f6bcfb57658019bc6750109d3e5cd4284bfd2.png)

I cannot find any existing customisation (in Theme or Theme Components) which caused it in 2.4.

Can anyone advice the best way of making these changes in 3.1+?

Thanks

---

_[View the full topic](https://meta.discourse.org/t/customise-add-event-button-in-composer/287892)._
