Skip to content

Instantly share code, notes, and snippets.

@sergiu-radu
Created March 11, 2021 19:12
Show Gist options
  • Save sergiu-radu/b0aff7d9dca008bda6e3237294b4c1b9 to your computer and use it in GitHub Desktop.
Save sergiu-radu/b0aff7d9dca008bda6e3237294b4c1b9 to your computer and use it in GitHub Desktop.
Custom icon
#blocksy_ct_contact_info-18 ul li:last-child > span > svg {
display: none;
}
#blocksy_ct_contact_info-18 ul li:last-child > span {
background-image: url('http://blocksy.local/wp-content/uploads/2020/03/daniel-lincoln-dp75uo9Qflo-unsplash-4-150x150.jpg');
background-size: 18px 18px;
background-repeat: no-repeat;
background-position: center center;
}
@sergiu-radu
Copy link
Author

  1. Replace the ID (https://tppr.me/s2K7Y) with the idea of your widget
  2. Replace the background-image link with the link of your icon

Result - https://tppr.me/tnOrT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment