1 . توجه لقالب >> تحرير
2. ابحث بإستعمال CTRL+F عن : ]]></b:skin>
2. ابحث بإستعمال CTRL+F عن : ]]></b:skin>
3. ضع الكود التالي فوقه
.share_button {
width: 300px;
height: 50px;
margin: 10px auto;
}
.share_button ul {
width: 50%;
height: inherit;
float: left;
list-style: none;
margin: 0 !important;
padding: 0 !important;
}
.share_button ul h1 {
margin-top: 9%;
overflow: hidden;
width: 100%;
color: #4889F0;
font-size: 18px;
text-shadow:2px 2px 2px #fff;
}
.share_button ul li {
position: absolute;
height: inherit;
width: 150px;
margin: 0 !important;
padding: 0 !important;
background: #EEEEEE;
-webkit-transition: all 600ms;
-moz-transition: all 600ms;
-o-transition: all 600ms;
-ms-transition: all 600ms;
transition: all 600ms;
text-align: center;
}
.share_button ul li h2 {
display: inline-block;
width: 32%;
height: 40px;
overflow: hidden;
margin-top: 5%;
cursor: pointer;
border: 0 !important;
}
.share_button ul:first-child li:first-child{
text-align: right;
}
.share_button ul:last-child li:first-child{
text-align: left;
}
.share_button ul:first-child li:last-child,
.share_button:hover ul:first-child li:first-child {
-webkit-transform: rotateY(90deg);
-moz-transform: rotateY(90deg);
-o-transform: rotateY(90deg);
-ms-transform: rotateY(90deg);
transform: rotateY(90deg);
}
.share_button ul:last-child li:last-child,
.share_button:hover ul:last-child li:first-child {
-webkit-transform: rotateY(-90deg);
-moz-transform: rotateY(-90deg);
-o-transform: rotateY(-90deg);
-ms-transform: rotateY(-90deg);
transform: rotateY(-90deg);
}
.share_button:hover ul:first-child li:last-child,
.share_button:hover ul:last-child li:last-child {
-webkit-transform: rotateY(0deg);
-moz-transform: rotateY(0deg);
-o-transform: rotateY(0deg);
-ms-transform: rotateY(0deg);
transform: rotateY(0deg);
}
4. ابحث عن <div class='post-footer'>
5. ضع الكود الأتي فوقه
* ملاحظة قد تجد الكود متكرر الأخير هو المقصود .. إذا كنت تتوفر على إضافة المشاركات الإجتماعية إستبدلها بالكود الأتي
<div class='share-box'>
<div class='share_button'>
<ul>
<li><h1>
شارك المقال
</h1></li>
<li><h2>
<a expr:href='"http://www.facebook.com/sharer.php?u=" + data:post.canonicalUrl + "&t=" + data:post.title ' title='Share on Facebook'><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfWD0mbYEEm2KsIoatMPoO7PCOsH2J-RqvuBP4qL2EThEBRXVShsgvST42-6u8jTKdkDnFCzMwm9bxrWPmphJA7lwt2ZbsPVxc5nqmmroRwSpcvjgau6ahci7cOnhfYjhBSb9HVt5i-dOu/s1600/Facebook.png"/></a></h2>
<h2><a expr:href='"http://twitter.com/home?status=" + data:post.title + " " + data:post.canonicalUrl ' title='Share on Twitter'><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjItl_535BItO2ppjiE-Jka87wQs71F6h_srRhL9CalB0ec1uLFdK0foVOFdJ8WJj2Mu_GG4SxPJqJoNcVm456eTeg5c1C8b4STt-BCKfrrjP8xcEngXmKere9KfXxEvLS2c8ynNsmoW_Zg/s1600/Twitter.png"/></a></h2>
</li>
</ul>
<ul>
<li><h1></h1></li>
<li>
<h2><a expr:href='"https://plus.google.com/share?url=" + data:post.canonicalUrl ' title='Share on Google Plus'><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzaTbda6RKwUOwwYPmRyynMorHku55WrVtdmYzvTV4IMSkWG0T_zwqn4ftySEzEga7cdch_6yYKVyQSxlQ-Ip8kzCT8Eu7dTisGdFdmfoI0gTN7klhf82TvF4h9zvt7swTww0LgTAGdHc6/s1600/Google-plus.png"/></a></h2>
<h2>
<a href='javascript:void((function(){var%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());' title='Share on Pinterest'><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWMr9UGW1DH53MIbDiOefcJtIJU1T0tv7KtA4FlbQGnTYlTCwLoy_hKsaNeZVuXYyNFHlWGpmszWfx0kLpfp-2XDsf3fh3VEWaEP-XijWolzNOxUd27i-qG45umiZGNxUfyei6AQovDbG3/s1600/Pinterest.png"/></a>
</h2>
</li>
</ul>
</div>
* المحدد باللون الأصفر خاص بصور الشبكات الإجتماعية
0 التعليقات