Part 5. How to add social media buttons

Read the following tutorial and learn how you can add social media actions to Text'n'Roll Plone theme.

Social media buttons can be inserted into any place on the page using portlets. Go to the desired location and click on the “Manage portlets” option on the toolbar. Choose location for the portlet (Plone Leftcolumn, PloneRightcolumn, or Plone Footerportlets). Choose Static Text Portlet from the “Add portlet…” drop down on the page. Add portlet title, e.g. Find Us On. Add the following HTML code (replacing '#' signs with your URLs):

<ul class="social-icons">
<li class="btn-social"><a class="fa fa-facebook btn-facebook" href="#">.</a></li>
<li class="btn-social"><a class="fa fa-twitter btn-twitter" href="#">.</a></li>
<li class="btn-social"><a class="fa fa-linkedin btn-linkedin" href="#">.</a></li>
<li class="btn-social"><a class="fa fa-google-plus btn-google-plus" href="#">.</a></li>
<li class="btn-social"><a class="fa fa-pinterest btn-pinterest" href="#">.</a></li>
<li class="btn-social"><a class="fa fa-reddit btn-reddit" href="#">.</a></li>
<li class="btn-social"><a class="fa fa-dropbox btn-dropbox" href="#">.</a></li>
<li class="btn-social"><a class="fa fa-youtube btn-youtube" href="#">.</a></li>
</ul>

You can use ready-made icons from Bootstrap. Go to http://lipis.github.io/bootstrap-social and copy classes of social icons you want to see.

Add only those social media buttons you need, in any order. Insert your preferred URLs. Save portlet. Your visitors can now follow you on social media platforms of their choice.

Social media icons.png

Connect with our experts Let's talk