Saturday, October 6, 2012

Attractive Glossy CSS Menu Bar For Blogger

In this tutorial, im going to explain about how to add another CSS bar for your  Blogger.For this tutorial,i used CSS  and  HTML.   So you can add it to your  blog, easily.  Follow below steps properly.You can check below    link for demo.And check my    earlier   menu bar post by  clicking here

Glossy-css-menubar
Demo

1. Log in to blogger account and Click drop down.
blog-post-option
2. Now select "Template" Like Below.

Select-template

3. Now you can see Live on blog, Click EDIT HTML Button"

4. Now click Proceed button.
   
5. Find this tag by using Ctrl+F    ]]></b:skin>

6. Paste below code Before ]]></b:skin> tag

/* The CSS Code for the menu starts here */
.rhm1{
 width:780px;
 height:64px;
 margin:0 auto;
 background:url(http://3.bp.blogspot.com/-RKxLrq6_cZk/UHAcV2t_kwI/AAAAAAAAEsA/JcnM8kdjfo4/s1600/rhm1_bg.gif) repeat-x;  }
.rhm1-left{
 background:url(http://3.bp.blogspot.com/-ISyJtWRmbCc/UHAcaeJgw3I/AAAAAAAAEsg/UPWDxMvZgIg/s1600/rhm1_l.gif) no-repeat;
 width:15px;
 height:64px;
 float:left;}
.rhm1-right{
 background:url(http://3.bp.blogspot.com/-W35QqezG0Ko/UHAcc0M9ACI/AAAAAAAAEso/zIpxbYTE9-4/s1600/rhm1_r.gif) no-repeat;
 width:15px;
 height:64px;
 float:right;}
.rhm1-bg{
 background:url(http://3.bp.blogspot.com/-RKxLrq6_cZk/UHAcV2t_kwI/AAAAAAAAEsA/JcnM8kdjfo4/s1600/rhm1_bg.gif) repeat-x;
 height:64px;}
.rhm1-bg ul{
 list-style:none;
 margin:0 auto;}
.rhm1-bg li{
 float:left;
 list-style:none;}
.rhm1-bg li a{
 float:left;
 display:block;
 color:#ffe8cc;
 text-decoration:none;
 font:12px 'Lucida Sans', sans-serif;
 font-weight:bold;
 padding:0 0 0 18px;
 height:64px;
 line-height:40px;
 text-align:center;
 cursor:pointer; }
.rhm1-bg li a span{
 float:left;
 display:block;
 padding:0 32px 0 18px;}
.rhm1-bg li.current a{
 color:#fff;
 background:url(http://4.bp.blogspot.com/-O-RiyKz1w3g/UHAcW8KRurI/AAAAAAAAEsI/BO-LlGUwC90/s1600/rhm1_hover_l.gif) no-repeat left 5px;}
.rhm1-bg li.current a span{
 color:#fff;
 background:url(http://3.bp.blogspot.com/-38pcS1KekUE/UHAcZYmcHlI/AAAAAAAAEsY/5RfhKDnDDHE/s1600/rhm1_hover_r.gif) no-repeat right 5px;}
.rhm1-bg li a:hover{
 color:#fff;
 background:url(http://4.bp.blogspot.com/-O-RiyKz1w3g/UHAcW8KRurI/AAAAAAAAEsI/BO-LlGUwC90/s1600/rhm1_hover_l.gif) no-repeat left 5px;}
.rhm1-bg li a:hover span{
 color:#ffffff;
 background:url(http://3.bp.blogspot.com/-38pcS1KekUE/UHAcZYmcHlI/AAAAAAAAEsY/5RfhKDnDDHE/s1600/rhm1_hover_r.gif) no-repeat right 5px;}

  
   

7. Go to blogger and click Layout

8. Click Add Gadget and select 'HTML/Javascript

9. Paste below code.

<!--bloggertrix.comMenuBar Starts-->
<div class="rhm1">
<div class="rhm1-right"></div>
<div class="rhm1-left"></div>
<div class="rhm1-bg">
<ul>
 <li class="current"><a href="#"><span>Home</span></a></li>
 <li><a href="#"><span>About Us</span></a></li>
 <li><a href="#"><span>Services</span></a></li> 
 <li><a href="#"><span>Products</span></a></li>  
 <li><a href="http://www.bloggertrix.com/"><span>Add This</span></a></li> 
</ul>
</div>
</div>

10. Now save your HTML/Javascript'.

    You are done...

9 comments:

  1. You have a very nice blog Soha. I have a self hosted wordpress site and can you help with with regards to design of it? Thank you!

    ReplyDelete
  2. Love this menu bar and it works great. Even love the colour but I really need to change the colour a bit to match my blog. Is there any way to do this?

    ReplyDelete
  3. @Caroline St Clare
    Which color do you want?

    ReplyDelete
  4. @Balaji G S,
    im a blogger template designer, if you want to design blogger template. i can help :)

    ReplyDelete
  5. @Bloggertrix
    Hi, thanks for getting back to me. I really want to try out 2 different colors to see which looks best. First is #c6d22d, and the other is #668a1f. If it'll take too much time, don't worry cos I will need to change to a drop down menu soon.

    ReplyDelete
  6. Hi, thanks for your reply. Not sure if I sent my reply already. But there are two colours I want to try, one in #c6d22d and another in #668a1f. Don't worry if it's a big job as I want to change to a drop down menu in the near future.

    ReplyDelete
  7. @Caroline St Clare
    Sorry.
    Its not possible to change to that colors.
    you can try other drop down menu-bars.
    thanks..

    ReplyDelete
  8. Good blog! I really love how it is easy on my eyes and the data are well written. I'm wondering how I could be notified whenever a new post has been made. I've subscribed to your feed which must do the trick! Have a great day!

    ReplyDelete