# CSS Codes

**URL:** https://community.elfsight.com/c/css-codes/158.md

[Latest](https://community.elfsight.com/latest.md) · [Categories](https://community.elfsight.com/categories.md) · [Tags](https://community.elfsight.com/tags.md)

---

## [Remove mini avatar from chat window](https://community.elfsight.com/t/remove-mini-avatar-from-chat-window/90277)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 3\
**Last updated:** [November 25, 2026, 6:57pm UTC](https://community.elfsight.com/t/remove-mini-avatar-from-chat-window/90277 "2026-11-25T18:57:14Z")

</div>

Add the code below to Custom CSS field on your Chat widget’s Appearance tab: \[class\*='ChatLayout\_\_MessageUser-sc'\] { display: none; }

---

## [Static banner layout, workaround for Google Sites to make it a pop up](https://community.elfsight.com/t/static-banner-layout-workaround-for-google-sites-to-make-it-a-pop-up/179680)

<div class="topic-metadata">

**Author:** [@Saddle-Bag\_Sweets](https://community.elfsight.com/u/Saddle-Bag_Sweets)\
**Replies:** 1\
**Last updated:** [November 20, 2026, 11:24am UTC](https://community.elfsight.com/t/static-banner-layout-workaround-for-google-sites-to-make-it-a-pop-up/179680 "2026-11-20T11:24:47Z")

</div>

Heyyy look at this workaround for the Google Sites problem! Hope this helps :slight\_smile: Just enter as a custom CSS code.

---

## [Make corners of window, call and floating buttons square](https://community.elfsight.com/t/make-corners-of-window-call-and-floating-buttons-square/90289)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 4\
**Last updated:** [November 19, 2026, 10:46am UTC](https://community.elfsight.com/t/make-corners-of-window-call-and-floating-buttons-square/90289 "2026-11-19T10:46:30Z")

</div>

Add this code to the Custom CSS field on the Style tab of your Click to Call widget’s settings: .eapp-click-to-call-window-component, .eapp-click-to-call-window-phone, .eapp-click-to-call-button-component { border-radiu…

---

## [Compact Message Input](https://community.elfsight.com/t/compact-message-input/177623)

<div class="topic-metadata">

**Author:** [@Sina](https://community.elfsight.com/u/Sina)\
**Replies:** 1\
**Last updated:** [October 26, 2026, 6:47am UTC](https://community.elfsight.com/t/compact-message-input/177623 "2026-10-26T06:47:54Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your AI Chatbot widget’s settings: before after /\* ========================================================== Compact Message Input ============…

---

## [Align buttons at the bottom](https://community.elfsight.com/t/align-buttons-at-the-bottom/176685)

<div class="topic-metadata">

**Author:** [@Expenses](https://community.elfsight.com/u/Expenses)\
**Replies:** 1\
**Last updated:** [October 13, 2026, 12:36pm UTC](https://community.elfsight.com/t/align-buttons-at-the-bottom/176685 "2026-10-13T12:36:54Z")

</div>

/\* Align buttons across all property cards \*/ .es-column-carousel-container { display: flex !important; flex-direction: column !important; } .es-column-carousel-container \> .es-title-container { min-height: 180px…

---

## [Reduce height of location card popup](https://community.elfsight.com/t/reduce-height-of-location-card-popup/61026)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 5\
**Last updated:** [October 12, 2026, 2:16pm UTC](https://community.elfsight.com/t/reduce-height-of-location-card-popup/61026 "2026-10-12T14:16:03Z")

</div>

Add this code to the Custom CSS field on the Style tab of your Store Locator widget’s settings: .global-styles, \[class\*='location-card-popup'\] { max-height: 500px; }

---

## [Change color of the scrollbar in the location list](https://community.elfsight.com/t/change-color-of-the-scrollbar-in-the-location-list/47924)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 2\
**Last updated:** [October 12, 2026, 11:23am UTC](https://community.elfsight.com/t/change-color-of-the-scrollbar-in-the-location-list/47924 "2026-10-12T11:23:02Z")

</div>

Add this code to the Custom CSS field on the Style tab of your Store Locator widget’s settings: .global-styles, \[class\*="directory-locations-list\_\_Container-sc"\]::-webkit-scrollbar-thumb { background-color: green !imp…

---

## [Set custom font for all elements (Forms)](https://community.elfsight.com/t/set-custom-font-for-all-elements-forms/22930)

<div class="topic-metadata">

**Author:** [@Helga](https://community.elfsight.com/u/Helga)\
**Replies:** 0\
**Last updated:** [October 19, 2023, 3:20pm UTC](https://community.elfsight.com/t/set-custom-font-for-all-elements-forms/22930 "2023-10-19T15:20:42Z")

</div>

Although we do provide a list of fonts for you to choose for your widget, you might happen to need a custom code. If that is the case, add the code below to Custom CSS field on your Form widget’s Appearance tab: \[class…

---

## [Change link color in widget description](https://community.elfsight.com/t/change-link-color-in-widget-description/25088)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [November 9, 2023, 2:12pm UTC](https://community.elfsight.com/t/change-link-color-in-widget-description/25088 "2023-11-09T14:12:01Z")

</div>

Add this code to the Custom CSS field on your Podcast Player widget’s Style tab: .global-classes, \[class^='Description\_\_Context'\] a { color: white !important; font-weight: bold !important; }

---

## [Add widget title](https://community.elfsight.com/t/add-widget-title/175423)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [September 29, 2026, 11:42am UTC](https://community.elfsight.com/t/add-widget-title/175423 "2026-09-29T11:42:33Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your Comments widget’s settings .es-widget-container::before { content: "Your title"; display: block; width: 100%; margin: 0 12px 16px; color: #111;…

---

## [Display posts vertically (Style #1)](https://community.elfsight.com/t/display-posts-vertically-style-1/76012)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 2\
**Last updated:** [September 29, 2026, 10:55am UTC](https://community.elfsight.com/t/display-posts-vertically-style-1/76012 "2026-09-29T10:55:55Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your Blog widget’s settings: \[class\*='layout\_\_Grid-sc'\] { grid-template-rows: repeat(3, 1fr); grid-template-columns: unset; max-width: 260px; gap: 20px; } \[c…

---

## [Hide suggested questions above Launcher button and display only greeting](https://community.elfsight.com/t/hide-suggested-questions-above-launcher-button-and-display-only-greeting/175318)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [September 28, 2026, 12:51pm UTC](https://community.elfsight.com/t/hide-suggested-questions-above-launcher-button-and-display-only-greeting/175318 "2026-09-28T12:51:43Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your AI Chatbot widget’s settings: \[class\*="widget-welcome-window\_\_QuickRepliesContainer"\] { display:none!important; }

---

## [Stack cards vertically on mobile (Grid layout)](https://community.elfsight.com/t/stack-cards-vertically-on-mobile-grid-layout/175313)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [September 28, 2026, 11:32am UTC](https://community.elfsight.com/t/stack-cards-vertically-on-mobile-grid-layout/175313 "2026-09-28T11:32:46Z")

</div>

Add this code to the Custom CSS field on your Job Board widget’s Appearance tab: @media (max-width: 480px) { \[class\*="Grid\_\_GridContainer-sc"\] { grid-template-columns: 1fr !important; } .es-widget-background-wrapper { …

---

## [Change alignment of widget title](https://community.elfsight.com/t/change-alignment-of-widget-title/174495)

<div class="topic-metadata">

**Author:** [@Team\_Lins](https://community.elfsight.com/u/Team_Lins)\
**Replies:** 3\
**Last updated:** [September 17, 2026, 11:54am UTC](https://community.elfsight.com/t/change-alignment-of-widget-title/174495 "2026-09-17T11:54:04Z")

</div>

If you want to change the alignment of the widget title so that it aligns to the left, add this code to the Custom CSS field on the Settings tab of your widget’s settings \[class\*="WidgetTitle\_\_Header-sc"\] { text-align…

---

## [Change text color in location badge and icon color in the marker](https://community.elfsight.com/t/change-text-color-in-location-badge-and-icon-color-in-the-marker/81966)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 2\
**Last updated:** [September 17, 2026, 10:30am UTC](https://community.elfsight.com/t/change-text-color-in-location-badge-and-icon-color-in-the-marker/81966 "2026-09-17T10:30:27Z")

</div>

Add this code to the Custom CSS field on the Style tab of your Store Locator widget’s settings: global-styles, \[class\*='badge\_\_StyledBadge-sc'\] { color: rgb(255, 255, 255); } global-styles, \[class\*='Icon\_\_IconContainer-…

---

## [Change background color of category dropdown on mobile](https://community.elfsight.com/t/change-background-color-of-category-dropdown-on-mobile/174197)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [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")

</div>

Add this code to the Custom CSS field on the Settings tab of your Blog widget’s settings: @media (max-width: 500px) { \[class\*="Dropdown\_\_DropdownContainer-sc"\]:not(.es-category-list-item) { background-color: #f3e8…

---

## [Change size of the search bar](https://community.elfsight.com/t/change-size-of-the-search-bar/174195)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [September 14, 2026, 11:08am UTC](https://community.elfsight.com/t/change-size-of-the-search-bar/174195 "2026-09-14T11:08:55Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your Event Calendar widget’s settings: .es-search-input, .es-search-input .es-text-control-base-placeholder, .es-search-input .es-text-control-base-inner, .es…

---

## [Make filters larger](https://community.elfsight.com/t/make-filters-larger/140183)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [October 1, 2025, 1:14pm UTC](https://community.elfsight.com/t/make-filters-larger/140183 "2025-10-01T13:14:01Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your Event Calendar widget’s settings: .es-filter-button-button, .es-filter-button-text { font-size: 14px !important; line-height: 20px !important; }

---

## [Change color of Load More button](https://community.elfsight.com/t/change-color-of-load-more-button/173996)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [September 11, 2026, 7:13am UTC](https://community.elfsight.com/t/change-color-of-load-more-button/173996 "2026-09-11T07:13:21Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your Video Gallery widget’s settings: .es-load-more-button { background-color: blue!important; }

---

## [Change corner radius of backdrop container](https://community.elfsight.com/t/change-corner-radius-of-backdrop-container/173995)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [September 11, 2026, 7:12am UTC](https://community.elfsight.com/t/change-corner-radius-of-backdrop-container/173995 "2026-09-11T07:12:19Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your Video Gallery widget’s settings: \[class\*="Backdrop\_\_BackdropContainer-sc"\] { border-radius: 16px; }

---

## [Change corner radius of the popup player](https://community.elfsight.com/t/change-corner-radius-of-the-popup-player/173994)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [September 11, 2026, 7:10am UTC](https://community.elfsight.com/t/change-corner-radius-of-the-popup-player/173994 "2026-09-11T07:10:57Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your Video Gallery widget’s settings .es-classic-popup-view-surface { border-radius: 24px !important; overflow: hidden; }

---

## [Hide Attachment button](https://community.elfsight.com/t/hide-attachment-button/161717)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 6\
**Last updated:** [September 11, 2026, 6:21am UTC](https://community.elfsight.com/t/hide-attachment-button/161717 "2026-09-11T06:21:35Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your AI Chatbot widget’s settings .es-interaction-field-attach-button { display:none!important; }

---

## [Make chat window full screen](https://community.elfsight.com/t/make-chat-window-full-screen/139832)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 5\
**Last updated:** [September 2, 2026, 9:24pm UTC](https://community.elfsight.com/t/make-chat-window-full-screen/139832 "2026-09-02T21:24:17Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your AI Chatbot widget’s settings: @external { .chatway--container .chatway--trigger-container { z-index: 99999999 !important; } } .es-interactive-fl…

---

## [Remove red border from the avatar](https://community.elfsight.com/t/remove-red-border-from-the-avatar/73878)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 4\
**Last updated:** [August 31, 2026, 9:10am UTC](https://community.elfsight.com/t/remove-red-border-from-the-avatar/73878 "2026-08-31T09:10:33Z")

</div>

Add this code to the Custom CSS field on the Style tab of your Instagram Feed widget’s settings: Old widget version (widgets created before August 26, 2026) .eapps-instagram-feed-header-user-picture-wrapper, .eapps-ins…

---

## [Change size of the close button](https://community.elfsight.com/t/change-size-of-the-close-button/171283)

<div class="topic-metadata">

**Author:** [@Helga](https://community.elfsight.com/u/Helga)\
**Replies:** 0\
**Last updated:** [August 13, 2026, 1:14pm UTC](https://community.elfsight.com/t/change-size-of-the-close-button/171283 "2026-08-13T13:14:30Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your Countdown Timer widget’s settings: .es-element-close-button { width: 40px !important; height: 40px !important; } .es-element-close-button-icon, .es-…

---

## [Change border radius of the chat bubble](https://community.elfsight.com/t/change-border-radius-of-the-chat-bubble/139367)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [September 5, 2025, 5:59pm UTC](https://community.elfsight.com/t/change-border-radius-of-the-chat-bubble/139367 "2025-09-05T17:59:53Z")

</div>

Add the code below to Custom CSS field on your Chat widget’s Appearance tab: \[class\*='Bubble\_\_BubbleComponent-sc'\] { border-radius: 4px !important; } span\[class\*='ButtonBase\_\_Overlay-sc'\] { border-radius: unset !import…

---

## [Align question text to center](https://community.elfsight.com/t/align-question-text-to-center/170684)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [August 7, 2026, 11:01am UTC](https://community.elfsight.com/t/align-question-text-to-center/170684 "2026-08-07T11:01:43Z")

</div>

Add this code to the Custom CSS field on the Settings stab of your Poll widget’s settings: .es-widget-question { text-align: center; }

---

## [Change border radius of the answer buttons](https://community.elfsight.com/t/change-border-radius-of-the-answer-buttons/170681)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [August 7, 2026, 10:23am UTC](https://community.elfsight.com/t/change-border-radius-of-the-answer-buttons/170681 "2026-08-07T10:23:03Z")

</div>

Add this code to the Custom CSS field on the Settings stab of your Poll widget’s settings: .es-answer-button-container { border-radius: 10px!important; }

---

## [Hide Country Code selector](https://community.elfsight.com/t/hide-country-code-selector/169998)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [August 2, 2026, 4:52pm UTC](https://community.elfsight.com/t/hide-country-code-selector/169998 "2026-08-02T16:52:37Z")

</div>

Add this code to the Custom CSS field on the Settings tab of your AI Chatbot widget’s settings \[class\*="TextControlBase\_\_TextControlBaseSlot-sc"\]:has(\[class\*="FlagDropdownTrigger\_\_Container-sc"\]) { display: none; } \[cl…

---

## [Hide AI Summary caption](https://community.elfsight.com/t/hide-ai-summary-caption/169541)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [July 28, 2026, 12:21pm UTC](https://community.elfsight.com/t/hide-ai-summary-caption/169541 "2026-07-28T12:21:23Z")

</div>

Add this code to the Custom CSS field on the Style tab of your Reviews widget’s settings: .es-review-info-caption { display: none; }

[Next page](https://community.elfsight.com/c/css-codes/158.md?page=1)
