# Social Media Icons

**URL:** https://community.elfsight.com/c/css-codes/social-media-icons/189.md

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

---

## [Change icon border color](https://community.elfsight.com/t/change-icon-border-color/97252)

<div class="topic-metadata">

**Author:** [@Sina](https://community.elfsight.com/u/Sina)\
**Replies:** 0\
**Last updated:** [January 28, 2025, 4:05am UTC](https://community.elfsight.com/t/change-icon-border-color/97252 "2025-01-28T04:05:18Z")

</div>

Add this code to the Custom CSS field on the Style tab of your Social Media Icons widget’s settings: .eapps-social-icons-item { border-color: red; }

---

## [Hide floating icons on mobile](https://community.elfsight.com/t/hide-floating-icons-on-mobile/91333)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [December 25, 2024, 12:35pm UTC](https://community.elfsight.com/t/hide-floating-icons-on-mobile/91333 "2024-12-25T12:35:26Z")

</div>

Add this code to the Custom CSS filed on the Style tab of your Social Media Icons widget’s settings: @media (max-width: 500px) { .eapps-social-icons { display: none !important; } }

---

## [Move buttons lower on mobile (floating)](https://community.elfsight.com/t/move-buttons-lower-on-mobile-floating/39428)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 6:18pm UTC](https://community.elfsight.com/t/move-buttons-lower-on-mobile-floating/39428 "2024-02-01T18:18:06Z")

</div>

Add this code to the Custom CSS filed on the Style tab of your Social Media Icons widget’s settings: @media(max-width: 480px) { .eapps-social-icons-position-right { bottom: 40px; top: auto; } }

---

## [Change icon color and color on hover](https://community.elfsight.com/t/change-icon-color-and-color-on-hover/34484)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [December 14, 2023, 5:50pm UTC](https://community.elfsight.com/t/change-icon-color-and-color-on-hover/34484 "2023-12-14T17:50:18Z")

</div>

Add this code to the Custom CSS field on the Style tab of your Social Media Icons widget’s settings: /\*color\*/ .eapps-social-icons-item-icon path, .eapps-social-icons-item-icon circle { fill: #7fc31c !important; } /\*co…

---

## [Change icon background color and background on hover](https://community.elfsight.com/t/change-icon-background-color-and-background-on-hover/59730)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [July 2, 2024, 2:06pm UTC](https://community.elfsight.com/t/change-icon-background-color-and-background-on-hover/59730 "2024-07-02T14:06:07Z")

</div>

Add this code to the Custom CSS field on the Style tab of your Social Media Icons widget’s settings: .eapps-social-icons-item::before { background-color: red !important; } .eapps-social-icons-item::after { background-…

---

## [Display icons vertically](https://community.elfsight.com/t/display-icons-vertically/34481)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [December 14, 2023, 5:43pm UTC](https://community.elfsight.com/t/display-icons-vertically/34481 "2023-12-14T17:43:03Z")

</div>

Add this code to the Custom CSS field on the Style tab of your Social Media Icons widget’s settings: .eapps-social-icons{ max-width: 50px; }

---

## [Increase margin between the icons](https://community.elfsight.com/t/increase-margin-between-the-icons/34482)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [December 14, 2023, 5:44pm UTC](https://community.elfsight.com/t/increase-margin-between-the-icons/34482 "2023-12-14T17:44:27Z")

</div>

Add this code to the Custom CSS field on the Style tab of your Social Media Icons widget’s settings: .eapps-social-icons-item{ margin: 5px 10px !important; }

---

## [Change icon color on hover](https://community.elfsight.com/t/change-icon-color-on-hover/34485)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [December 14, 2023, 5:51pm UTC](https://community.elfsight.com/t/change-icon-color-on-hover/34485 "2023-12-14T17:51:03Z")

</div>

Add this code to the Custom CSS field on the Style tab of your Social Media Icons widget’s settings: .eapps-social-icons-item-icon path, .eapps-social-icons-item-icon circle { fill: #7fc31c !important; }

---

## [Add bottom margin](https://community.elfsight.com/t/add-bottom-margin/34487)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [December 14, 2023, 5:57pm UTC](https://community.elfsight.com/t/add-bottom-margin/34487 "2023-12-14T17:57:04Z")

</div>

Add this code to the Custom CSS field on the Style tab of your Social Media Icons widget’s settings: .global-styles, .eapps-social-icons-item{ bottom: 20px !important; }

---

## [Remove left margin](https://community.elfsight.com/t/remove-left-margin/34488)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [December 14, 2023, 5:59pm UTC](https://community.elfsight.com/t/remove-left-margin/34488 "2023-12-14T17:59:51Z")

</div>

Add this code to the Custom CSS field on the Style tab of your Social Media Icons widget’s settings: .eapps-social-icons-item-facebook { margin-left: 0 !important; } Replace facebook with the name of the needed icon.

---

## [Change color on hover for specific icon](https://community.elfsight.com/t/change-color-on-hover-for-specific-icon/34486)

<div class="topic-metadata">

**Author:** [@Max](https://community.elfsight.com/u/Max)\
**Replies:** 0\
**Last updated:** [December 14, 2023, 5:52pm UTC](https://community.elfsight.com/t/change-color-on-hover-for-specific-icon/34486 "2023-12-14T17:52:07Z")

</div>

Add this code to the Custom CSS field on the Style tab of your Social Media Icons widget’s settings: .eapps-social-icons-item-facebook:hover path { fill: red; } Replace facebook with the name of the required icon.
