Hello,
I’d like to align social icons in nav bar as the attached image. How can I move the social icons to the center? I’m using custom social icons and following css codes.
.x-icon-xing-square:before,.x-icon-youtube-square:before, .x-icon-facebook-square:before { content: " "; }
i.x-icon-xing-square {
background: url(/wp-content/uploads/sns_naverpost.gif);
background-size: contain;
background-position: center;
background-repeat: no-repeat;
float: right;
margin-right: 5px;
display: inline-block;
width: 18px;
height: 18px;
}
i.x-icon-youtube-square {
background: url(/wp-content/uploads/sns_youtube.gif);
background-size: contain;
background-position: center;
background-repeat: no-repeat;
float: right;
display: inline-block;
width: 18px;
height: 18px;
}
i.x-icon-facebook-square {
background: url(/wp-content/uploads/sns_facebook.gif);
background-size: contain;
background-position: center;
background-repeat: no-repeat;
float: right;
margin-right: 5px;
display: inline-block;
width: 18px;
height: 18px;
}