# Prevent calendar from switching to week/day

**URL:** https://community.glideapps.com/t/prevent-calendar-from-switching-to-week-day/76786
**Category:** Ask for Help
**Created:** [October 2, 2024, 9:21pm UTC](https://community.glideapps.com/t/prevent-calendar-from-switching-to-week-day/76786 "2024-10-02T21:21:47Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Shadrax](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/shadrax/32/80299_2.png) [@Shadrax](https://community.glideapps.com/u/Shadrax)
#### Post date: [October 2, 2024, 9:21pm UTC](https://community.glideapps.com/t/prevent-calendar-from-switching-to-week-day/76786/1 "2024-10-02T21:21:47Z")

</div>

Hello, I have this calendar that is made for ONE daily activity.

How can I make it so that people cannot change the view from months to week or days and so the days are not clickable (which changes the view to days) but only the events can be clicked?

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/f/afab76c3fc4fb820116dbfdb6883be7c4e90f266.png)

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [October 3, 2024, 12:36am UTC](https://community.glideapps.com/t/prevent-calendar-from-switching-to-week-day/76786/2 "2024-10-03T00:36:10Z")

</div>

Do you have access to CSS on your plan?

---

<div class="post-metadata">

### Author: ![Shadrax](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/shadrax/32/80299_2.png) [@Shadrax](https://community.glideapps.com/u/Shadrax)
#### Post date: [October 3, 2024, 4:44pm UTC](https://community.glideapps.com/t/prevent-calendar-from-switching-to-week-day/76786/3 "2024-10-03T16:44:49Z")

</div>

I think not but I will upgrade at some point so if you can let me know how I can do it with CSS I’ll be interested 🙂

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [October 4, 2024, 12:44am UTC](https://community.glideapps.com/t/prevent-calendar-from-switching-to-week-day/76786/4 "2024-10-04T00:44:24Z")

</div>

I don’t have the code ready now, but I think it’s just a matter of changing pointer-events to none for the “Month” dropdown and the days are not clickable.

@Himaladin would know better about this.

---

<div class="post-metadata">

### Author: ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)
#### Post date: [October 4, 2024, 1:12am UTC](https://community.glideapps.com/t/prevent-calendar-from-switching-to-week-day/76786/5 "2024-10-04T01:12:08Z")

</div>

If it’s no longer necessary, I think it would be best to simply remove it with `display: none;` (Add the class name `taskCalendar` to your Calendar component).

```auto
.taskCalendar [aria-haspopup="menu"] {
  display: none;
  /*pointer-events: none;*/
}

```

---

<div class="post-metadata">

### Author: ![Shadrax](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/shadrax/32/80299_2.png) [@Shadrax](https://community.glideapps.com/u/Shadrax)
#### Post date: [October 4, 2024, 9:53am UTC](https://community.glideapps.com/t/prevent-calendar-from-switching-to-week-day/76786/6 "2024-10-04T09:53:50Z")

</div>

Thank you 🙂
