# Hide widget on mobile

**URL:** <https://community.elfsight.com/t/hide-widget-on-mobile/1825>\
**Category:** Customization\
**Tags:** all-in-one-reviews\
**Created:** [July 4, 2022, 5:51am UTC](https://community.elfsight.com/t/hide-widget-on-mobile/1825 "2022-07-04T05:51:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Takeshi](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/takeshi/32/545_2.png) [@Takeshi](https://community.elfsight.com/u/Takeshi)\
**Post date:** [July 4, 2022, 5:51am UTC](https://community.elfsight.com/t/hide-widget-on-mobile/1825/1 "2022-07-04T05:51:52Z")

</div>

widget (floating badge) looks great on desktop and 99% of my visitors are on desktop, how can i hide this on mobile?

thanks

---

<div class="post-metadata">

**Author:** ![Helga](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/helga/32/1155_2.png) [@Helga](https://community.elfsight.com/u/Helga)\
**Post date:** [July 4, 2022, 8:16am UTC](https://community.elfsight.com/t/hide-widget-on-mobile/1825/2 "2022-07-04T08:16:03Z")

</div>

Hi @Takeshi and welcome to the forum! 🤗

Sure, this CSS code should help you hide the widget on mobile. Please add it to Custom CSS field on your widget Appearance tab:

```auto
@media (max-width: 475px) { 
	[class*="BadgeContainer__Inner-sc"] {
		display: none !important;
	}
}

```

Please let me know if it worked!

---

<div class="post-metadata">

**Author:** ![Takeshi](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/takeshi/32/545_2.png) [@Takeshi](https://community.elfsight.com/u/Takeshi)\
**Post date:** [July 4, 2022, 10:15am UTC](https://community.elfsight.com/t/hide-widget-on-mobile/1825/3 "2022-07-04T10:15:50Z")

</div>

thank you very much Helga.

---

<div class="post-metadata">

**Author:** ![Helga](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/helga/32/1155_2.png) [@Helga](https://community.elfsight.com/u/Helga)\
**Post date:** [July 4, 2022, 10:16am UTC](https://community.elfsight.com/t/hide-widget-on-mobile/1825/4 "2022-07-04T10:16:42Z")

</div>

Anytime!
