# How to remove the background-activated on ion-datetime?

**URL:** <https://forum.ionicframework.com/t/how-to-remove-the-background-activated-on-ion-datetime/192250>\
**Category:** Ionic Framework\
**Created:** [July 4, 2020, 5:28pm UTC](https://forum.ionicframework.com/t/how-to-remove-the-background-activated-on-ion-datetime/192250 "2020-07-04T17:28:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ulisesinfante](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ulisesinfante/32/131984_2.png) [@ulisesinfante](https://forum.ionicframework.com/u/ulisesinfante)\
**Post date:** [July 4, 2020, 5:28pm UTC](https://forum.ionicframework.com/t/how-to-remove-the-background-activated-on-ion-datetime/192250/1 "2020-07-04T17:28:27Z")

</div>

**.item-datetime | ion-datetime**

_This does not work (nor with important)_

```auto
.item-datetime {
    --ion-item-background-activated: transparent;
    --ion-item-background: transparent;
    --ion-item-background-focused: transparent;
    --ion-item-background-hover: transparent;

    --ion-item-background-activated: transparent;
    --background: transparent;
    --background-activated: transparent;
    --background-focused: transparent;
    --background-hover: transparent;
    background: transparent;

    --background-activated-opacity: 0;
    --background-focused-opacity: 0;
    --background-hover-opacity: 0;
    --transition: none;
}

```

---

<div class="post-metadata">

**Author:** ![alexPink](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@alexPink](https://forum.ionicframework.com/u/alexPink)\
**Post date:** [July 6, 2020, 8:10am UTC](https://forum.ionicframework.com/t/how-to-remove-the-background-activated-on-ion-datetime/192250/2 "2020-07-06T08:10:30Z")

</div>

Hi!

I have the same issue. Did you manage to discover why? I asked as well but no one replied and I have no clue. Thanks!

---

<div class="post-metadata">

**Author:** ![flosej](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/flosej/32/141095_2.png) [@flosej](https://forum.ionicframework.com/u/flosej)\
**Post date:** [July 20, 2020, 12:36pm UTC](https://forum.ionicframework.com/t/how-to-remove-the-background-activated-on-ion-datetime/192250/3 "2020-07-20T12:36:29Z")

</div>

Try this to remove the background effect

```auto
--ripple-color: transparent;
--background-hover: transparent;

```

---

<div class="post-metadata">

**Author:** ![ulisesinfante](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ulisesinfante/32/131984_2.png) [@ulisesinfante](https://forum.ionicframework.com/u/ulisesinfante)\
**Post date:** [July 20, 2020, 1:17pm UTC](https://forum.ionicframework.com/t/how-to-remove-the-background-activated-on-ion-datetime/192250/4 "2020-07-20T13:17:39Z")

</div>

Hello @flosej,

Thanks, it’s works using “–ripple-color” property,

Thanks again.

---

<div class="post-metadata">

**Author:** ![flosej](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/flosej/32/141095_2.png) [@flosej](https://forum.ionicframework.com/u/flosej)\
**Post date:** [July 20, 2020, 1:29pm UTC](https://forum.ionicframework.com/t/how-to-remove-the-background-activated-on-ion-datetime/192250/5 "2020-07-20T13:29:14Z")

</div>

You’re welcome mate 👌
