# CSS Class for a Switch

**URL:** <https://community.glideapps.com/t/css-class-for-a-switch/80198>\
**Category:** Ask for Help\
**Created:** [February 20, 2025, 3:04pm UTC](https://community.glideapps.com/t/css-class-for-a-switch/80198 "2025-02-20T15:04:29Z")\
**Posts on this page:** 1\
**Showing post:** 18

<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:** [February 21, 2025, 1:25pm UTC](https://community.glideapps.com/t/css-class-for-a-switch/80198/18 "2025-02-21T13:25:41Z")

</div>

You are in the wrong space:  
[https://community.glideapps.com/t/customizing-map-markers-in-new-glide-apps/70540/33?u=himaladin](https://community.glideapps.com/t/customizing-map-markers-in-new-glide-apps/70540/33)

It works if you want to apply it to all switch components in the app. Just remove the class name inside the selector so it becomes: `#page-root .peer:checked ~ div`

---

_[View the full topic](https://community.glideapps.com/t/css-class-for-a-switch/80198)._
