Skip to content
WJunction - Webmaster Forum

Movable social bar for Datalife

Status
Not open for further replies.
Open main.tpl find :
Code:
<div class="wrapper">


and above that add this:
Code:
</div><ul id="social-media"><a href='Twitter URL' target='_blank'><div class="twitter-hover social-slide"></div></a><a href='Facebook URL' target='_blank'><div class="facebook-hover social-slide"></div></a><a href='Google URL' target='_blank'><div class="google-hover social-slide"></div></a></ul>


Next open style.css
and add this:
Code:
#social-media {
position: fixed;
margin-left: 250px;
width: 60px;
background-color: #fff;
border-radius: 3px 0px 0px 3px;
padding: 15px;
border-top: 1px solid #DBDBDB;
border-bottom: 1px solid #DBDBDB;
border-left: 1px solid #DBDBDB;
} 
#social-media li {
margin: 0px;
} 
.twitter-hover {
background-image: url('http://example.com/templates/Pisces/images/twitter-hover.png');
}
.facebook-hover {
background-image: url('http://example.com/templates/Pisces/images/facebook-hover.png');
}
.google-hover {
background-image: url('http://example.com/templates/Pisces/images/google-hover.png');
} 
.social-slide {
height: 48px;
width: 48px;
margin: 10px;
float: left;-webkit-transition: all ease 0.3s;-moz-transition: all ease 0.3s;-o-transition: all ease 0.3s;-ms-transition: all ease 0.3s;transition: all ease 0.3s;
} 
.social-slide:hover {
background-position: 0px -48px;
box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.8);}


Images:
facebook-hover.png
google-hover.png
twitter-hover.png



Example:
[SLIDE]http://www.dodaj.rs/f/2s/DK/z5Ew2DX/capture-20130717-134844.png[/SLIDE]
 
Status
Not open for further replies.

About the author

SavkeUltras
Senior Member · Joined
2,415
Messages
866
Reactions
113
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom