我在 Shopify 上有一个网上商店。在产品页面上,在产品描述下,我有连续显示的社交媒体图标。如何调整它们以水平并排显示为一条线?
这是产品页面的链接: http ://www.vapestore.co/collections/featured-products/products/innokin-itaste-svd
这是一些CSS代码:
.icon-social { display:block; float:left; }
.icon-social { margin-right:5px; margin-bottom: 5px; }
.icon-social { text-indent:-9999px; width:32px; height:32px; opacity:0.3; filter: alpha(opacity = 30); background: url({{ 'social-icons-light-bg.png' | asset_url }}) no-repeat; }
.icon-social:hover { opacity:0.6; filter: alpha(opacity = 60); }
.icon-social.twitter { background-position: 0 0; }
.icon-social.facebook { background-position: -50px 0; }
.icon-social.youtube { background-position: -100px 0; }
.icon-social.atom { background-position: -150px 0; }
.icon-social.instagram { background-position: -200px 0; }
.icon-social.pinterest { background-position: -250px 0; }
.icon-social.vimeo { background-position: -300px 0; }
.icon-social.tumblr { background-position: -350px 0; }
.icon-social.google { background-position: -400px 0; }