Last active
March 1, 2021 23:48
-
-
Save cesgarma/a55bd3731e40c12720a3b7142db40111 to your computer and use it in GitHub Desktop.
Display horizontal social network icons as a widget on a Divi WordPress site using the HTML widget.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="et-social-icons"> | |
<li class="et-social-icon et-social-facebook"> | |
<a href="" class="icon"> | |
<span>Facebook</span> | |
</a> | |
</li> | |
<li class="et-social-icon et-social-twitter"> | |
<a href="" class="icon"> | |
<span>Twitter</span> | |
</a> | |
</li> | |
<li class="et-social-icon et-social-youtube"> | |
<a href="" class="icon"> | |
<span>YouTube</span> | |
</a> | |
</li> | |
<li class="et-social-icon et-social-instagram"> | |
<a href="" class="icon"> | |
<span>Instagram</span> | |
</a> | |
</li> | |
</ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Remove bullets from li tag on footer */ | |
.et-social-icons li:before { | |
display:none; | |
} | |
#footer-widgets .et-social-icons { | |
display: flex; | |
flex-direction: row; | |
justify-content: center; | |
width: 100%; | |
} | |
#footer-widgets .et-social-icons li { | |
padding: 0; | |
margin: 10px 10px; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment