Three social icons were designed to be displayed in a row (check out the working JSFiddle - here).
Despite this, when implemented on my Wordpress blog, they are not positioned side by side but rather stacked on top of each other as seen here - .
Is there a way to make my Wordpress version look like the display in the JSFiddle?
HTML
<div data-sumome-share="Facebook" data-sumome-share-text="Great article by the Money Nest team." class="social-icons" id="facebook_icon"><img src="https://www.moneynest.co.uk/wp-content/uploads/2017/01/facebook-white.png" height="20px" class="social-image-align" >share<span data-sumome-share-count="share"></span></div><!-- --><div data-sumome-share="Twitter" data-sumome-share-text="Great article, check it out..." class="social-icons" id="twitter_icon"><img src="https://www.moneynest.co.uk/wp-content/uploads/2017/01/twitter-white.png" height="20px" class="social-image-align">share<span data-sumome-share-count="share"></span></div><!-- --><div data-sumome-share="Linkedin" data-sumome-share-text="Great article, check it out..." class="social-icons" id="linkedin_icon"><img src="https://www.moneynest.co.uk/wp-content/uploads/2017/01/linkedin-white.png" height="20px" class="social-image-align">share<span data-sumome-share-count="share"></span></div>
CSS
.social-image-align {
position: relative;
top: -1px;
height: 20px;
margin-right: 8px;
}
#facebook_icon {
background-color: #3B5997;
}
#facebook_icon:hover {
background-color: #4264a9;
}
#twitter_icon {
background-color: #1bb2e9;
}
#twitter_icon:hover {
background-color: #32baeb;
}
#linkedin_icon {
background-color: #008cd0;
}
#linkedin_icon:hover {
background-color: #007bb6;
}
.social-icons {
padding: 8px 5px;
text-align: center;
width: 30%;
display: inline-block;
color: white;
text-transform: uppercase;
}