Add A Transparent Notification Bar To Your Blog

10:48 AM | ,

Become a guest author on Create the Blogger.

Many Popular blogs use a notification bar to show a News feed and latest content because it attracts your visitors attention.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.

Add The Transparent Notification Bar To Blogger

Remember Always Back Up Your Template Before You Make Changes!

Step 1. In Your Blogger Dashboard Click Design > Edit Html 

Step 2. Find the following piece of code in your blogs Html : (Click Ctrl and F for a search bar to help find the code):


Step 3. Copy and Paste the following code Directly Above / Before </body>

<!-- Notification code start -->
<style type='text/css'>
background:url(&#39;;) repeat; 
text-align: center;margin:0 auto; 
border-top: 1px solid #fff;
font-weight: bold;
font-family: arial,&quot;Helvetica&quot;;

#ut-sticky p{line-height:5px; font-size:13px; text-align:center; width:95%; float:left;}
#ut-sticky p a{ text-decoration:underline; 
.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;}
<div id='ut-sticky'>
Add This Transparent Notification Bar To Your Blog <a href='' target='_blank'>Transparent Notification Bar</a></p>
<div class='ut-cross'><a href='javascript:hide_cross();'>X</a></div>
<script language='JavaScript'>
function hide_cross() {
crosstbox = document.getElementById(&quot;ut-sticky&quot;); = &#39;hidden&#39;;
<!-- End of Notification code, info - -->

How to change color and Notification Message.

In this code i have chosen such a color combination so that its looks transparent and whenever you take your mouse on this bar it become more visible.

Change Message - The message and link are highlighted in red above, change as required.

Drop Your Comments Below.

No comments:

To Use A Smiley In Your Comment, Simply Add The Characters Beside Your Choosen Smiley To The Comment:
:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =)) Grab Smily Gadget

Post a Comment

Gadgets By For Bloggers