The standard Lorem Ipsum passage, used since the 1500s

“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.”

Section 1.10.32 of “de Finibus Bonorum et Malorum”, written by Cicero in 45 BC

“Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?”

Customize TwentyTwenty Social Menu icons

The WordPress TwentyTwenty theme is a good starting point for developing new websites. One of the features is TwentyTwenty is that SVG icons are added automatically to social links.

In the theme is a ‘Social Menu’ which already shows the icons.

How does it work?

If the link contains a url pointing to a social network, for example Facebook a[href*=”facebook.com”] than the svg icon for Facebook will be displayed. It is a neat solution.

Which of the Social Network are supported

There is a range of supported icons (see this page for more information on the theme).

  • 500px
  • Amazon
  • Angel
  • audible
  • Behance
  • Codepen
  • Creative Commons
  • DeviantArt
  • Digg
  • Dribbble
  • eBay

  • Etsy
  • Facebook
  • Flickr
  • GitHub
  • GitLab
  • Goodreads
  • Houzz
  • IMDb
  • Instagram
  • Kickstarter
  • JSFiddle
  • LinkedIn
  • Last.fm
  • Medium
  • Meetup
  • Mixcloud
  • Patreon
  • Periscope
  • Pinterest
  • Google Play
  • Google+
  • Product Hunt
  • Quora
  • Reddit
  • Slack
  • SoundCloud
  • Spotify
  • Tumblr
  • Twitch
  • Twitter
  • Vimeo
  • WordPress
  • YouTube

Unfortunately … this list lacks a few icons like “Whatsapp” or “TikTok”. I wanted to add these and found some non-standard ways to do this. There are some requests at WordPress to make our life easier: some people asked for specific icons to add and better: there is a request to add a filter to add svg icons to the list.

In the meantime I hope the following information helps others:

Add addtional icon via CSS

There is no icon for a phone button so you can add it the same way WordPress does. Use Font Awesome or any other icon font to add the Phone icon.

body a[href*="tel:"]:before {
   font-family: "Font Awesome 5 Free";	
   content: "\f3cd";
}

After adding the Phone Icon you could still see a default SVG that WordPress adds when the social network is not recognized.

Hide unwanted svg

body a[href*="tel:"] svg {
	display: none;
}

As a bonus

/* remove icon background color */
.social-icons a {
	background-color: transparent;
}

Leave a Reply