# Change background color of category dropdown on mobile

**URL:** <https://community.elfsight.com/t/change-background-color-of-category-dropdown-on-mobile/174197>\
**Category:** Blog\
**Created:** [September 14, 2026, 11:52am UTC](https://community.elfsight.com/t/change-background-color-of-category-dropdown-on-mobile/174197 "2026-09-14T11:52:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 14, 2026, 11:52am UTC](https://community.elfsight.com/t/change-background-color-of-category-dropdown-on-mobile/174197/1 "2026-09-14T11:52:45Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your [Blog](https://elfsight.com/blog-widget/) widget’s settings:

```auto
@media (max-width: 500px) {
  [class*="Dropdown__DropdownContainer-sc"]:not(.es-category-list-item) {
    background-color: #f3e8ff !important;
  }

  .es-category-list-item {
    background-color: transparent !important;
  }
}

```
