Thursday 15 March 2012

Add A Notification Bar Transparent bar to your Blog

You can add a link to a featured post, your Rss feed, social profile or an affiliate offer.So here I will show you how to add an awesome notification bar with close button.Its very simple and looks very cool.You can use it on a blogger blog and wordpress blog or even in your websites.Before following the steps view Demo.
  1. Go to Design>Edit Html
  2. Select Proceed.
  3. Find Below Code by pressing F3
  4. </body>
  5. Before/Above it paste this code.

<!-- Notification code start -->
<style type='text/css'>
#ut-sticky
{
background:url(&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtMvjroX9BLLGA5E5aIcxpUovqlGbNDsOnA2J7bi2M_rfe3WzrQDfI9fQrCM16HVkYWD0Wd7xM6YyRHiX3oyAriCMXxp1C3ZiguJ4t_k84js4_2qGW3vcTunY8ocdaSnr95R7mCiaLtuIH/s1600/ut-bg.png&#39;) repeat; 
color:#fff;
text-align: center;
margin:0 auto; 
border-top: 1px solid #fff;
height:28px; 
font-size:13px; 
position:fixed; 
bottom:0; 
z-index:999; 
width:95%;
border-top-left-radius:15px;
border-top-right-radius:15px; 
display:block;
font-weight: bold;
font-family: arial,&quot;Helvetica&quot;;
font-color:#fff;
}
#ut-sticky:hover
{background:#333;}
#ut-sticky p{line-height:5px; font-size:13px; text-align:center; width:95%; float:left;}
#ut-sticky p a{ text-decoration:underline; color:#FFFF33;}
.ut-cross{display:block; position:relative; right:15px; float:right;}
.ut-cross a{font-size:18px; font-weight:bold; font-family:&quot;Arial&quot;; color:#FF0000; line-height:30px;}
</style>
<div id='ut-sticky'>
<p>TechnoWorld <a href='http://www.tricksjustforyou.blogspot.com.com' target='_blank'>Go to TechnoWorld</a></p>
<div class='ut-cross'><a href='javascript:hide_cross();'>X</a></div>
</div>
<script language='JavaScript'>
function hide_cross() {
crosstbox = document.getElementById(&quot;ut-sticky&quot;);
crosstbox.style.visibility = &#39;hidden&#39;;
}
</script>
<!-- End of Notification code, info - http://www.tricksjustforyou.blogspot.com.com -->



Change the Highlighted code.

No comments: