I would like to add the following social networking buttons linked to my social networking URLS as the target in a new window when clicked.
Please see attached screen shot for example. I have done the following but am unsure how to process from here as trying previously wipped my header completely. as you will see below i have not added code for RSS feed as this is yet to be set up with a module but would still like the button there with referrence how to link to later once RSS is setup.
All images have been added to file path as stated in Header.tpl
and thats where it all goes wrong. can someone tell me where i am going wrong
Added to botton of Stylesheet.css:
Code: Select all
/* Share Buttons */
#share {
position: absolute;
top: 88px;
right: 328px;
float: left;
width: 210px;
height: 30px;
text-align: center;
z-index: 8;
}
#share .twitter{
display: block;
width: 30px;
height: 30px;
margin-left:0px;
background: url('../image/twitter.gif') ;
float: left;
}
#share .facebook{
display: block;
width: 30px;
height: 30px;
margin-left:0px;
background: url('../image/facebook.gif') ;
float: left;
}
#share .myspace{
display: block;
width: 30px;
height: 30px;
margin-left:0px;
background: url('../image/myspace.gif') ;
float: left;
}
#share .linkedin{
display: block;
width: 30px;
height: 30px;
margin-left:0px;
background: url('../image/linkedin.gif') ;
float: left;
}
#share .youtube{
display: block;
width: 30px;
height: 30px;
margin-left:0px;
background: url('../image/youtube.gif') ;
float: left;
}
#share .blogger{
display: block;
width: 30px;
height: 30px;
margin-left:0px;
background: url('../image/blogger.gif') ;
float: left;
}
#share .rss{
display: block;
width: 30px;
height: 30px;
margin-left:0px;
background: url('../image/rss.gif') ;
float: left;
}
#share .twitter:hover,
#share .facebook:hover,
#share .myspace:hover,
#share .linkedin:hover,
#share .youtube:hover,
#share .blogger:hover,
#share .rss:hover
{
background-position: 0 -30px;
}
( Before)<div id="top_links">
<div id="welcome">
Code: Select all
<div id="share">
<a class="twitter" title="twitter" href="https://twitter.com/#!/Cozziemo"></a>
<a class="facebook" title="facebook" href="http://www.facebook.com/profile.php?id=119152818198860"></a>
<a class="myspace" title="myspace" href="http://www.myspace.com/576330104"></a>
<a class="linkedin" title="linkedin" href="http://nz.linkedin.com/pub/cozziemo-motorsport/43/984/3a2"></a>
<a class="youtube" title="youtube" href="http://www.youtube.com/user/CozziemoMotorsport"></a>
<a class="blogger" title="blogger" href="http://cozziemomotorsport.blogspot.com/"></a>
</div>