Written by
Daniel Likin
I’ve already given you many useful tips to create Blogger menu bar in my older posts. In my recent posts that talk about creating menu bar on blog layout, i’ve also uncovered to you how to stack a cool rounded corner menu on your blog by using 2 rounded corner pictures, which being deployed on the left position, and on the right corner position as well (you can find the links of those articles right at the end of this post).
Since we all know that creating a rounded corners element can be easily done by using a CSS property border-radius, now i want to show you the latest trick to embed Blogger menu bar which has a rounded shape on each of the corner, and the important thing, without using any single image on it. Yeah, in this post, we are gonna play with border-radius property. Woohoo!! Okay, if you want to know more about this latest trick, read on to find out more.
1. Go to Edit HTML
After Signed in to your Blogger account, now let's moving on to the Dashboard > Layout/Design > Edit HTML.
2. Find the Code
After landing to the Edit HTML, by pressing Ctrl + F at the same time, now find the code section below in your blog template:
]]></b:skin>
3. Add a new CSS
To create a rounded Blogger menu bar on your blog, you must firstly stack a new CSS style that later, will control the appearance of the Blogger menu bar. Okay, now copy the CSS style below, and then paste it on before the code ]]></b:skin>.
/*
==================================================
The Rounded Corners Menu with CSS
Author : Daniel Likin
URL : http://www.whatmakesblog.com
This CSS styling and the associated (x)html may be modified in any way to fit your preferences. But i'm politely asking you for not removing or changing the credit section of this CSS styling.
==================================================
*/
#rounded-column {
width:100%;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
background:#fff;
height:30px;
padding:0px;
margin:0px;
}
.rounded-menu {
width: 100%;
height:20px
float:left;
margin:0x;
padding:0px;
}
.rounded-menu h2{
display:none;
}
.first-rounded-menu ul{
list-style-type: none;
margin:0px;
padding:0px;
}
.rounded-menu ul{
list-style-type: none;
margin:0px;
padding:0px;
}
.first-rounded-menu li {
list-style-type: none;
margin:0px;
padding:0px;
display:inline;
float:left;
}
.rounded-menu li {
list-style-type: none;
margin:0px;
padding:0px;
display:inline;
float:left;
}
.first-rounded-menu ul li {
list-style-type: none;
margin:0px;
padding:0px;
float:left;
}
.rounded-menu ul li {
list-style-type: none;
margin:0px;
padding:0px;
float:left;
}
.first-rounded-menu a {
font-size:12px;
font-family:arial;
text-align:center;
height:20px;
display:block;
float:left;
color:#696969;
background:#fff;
text-decoration:none;
padding:5px;
border-radius: 5px 0px 0px 5px;
-moz-border-radius: 5px 0px 0px 5px;
-webkit-border-radius: 5px 0px 0px 5px;
}
.first-rounded-menu a:hover {
font-size:12px;
font-family:arial;
text-align:center;
height:20px;
display:block;
float:left;
color:#000000;
background:#dfdfdf;
text-decoration:none;
padding:5px;
border-radius: 5px 0px 0px 5px;
-moz-border-radius: 5px 0px 0px 5px;
-webkit-border-radius: 5px 0px 0px 5px;
}
.rounded-menu a {
font-size:12px;
font-family:arial;
text-align:center;
height:20px;
float:left;
color:#696969;
background:#fff;
text-decoration:none;
padding:5px;
}
.rounded-menu a:hover {
font-size:12px;
font-family:arial;
text-align:center;
height:20px;
float:left;
color:#000000;
background:#dfdfdf;
text-decoration:none;
padding:5px;
}
.last-rounded-menu ul {
list-style-type: none;
margin:0px;
padding:0px;
float:right;
}
.last-rounded-menu li {
list-style-type: none;
margin:0px;
padding:0px;
display:inline;
float:right;
}
.last-rounded-menu ul li {
list-style-type: none;
margin:0px;
padding:0px;
float:right;
}
.last-rounded-menu a {
font-size:12px;
font-family:arial;
text-align:center;
height:20px;
color:#696969;
background:#fff;
text-decoration:none;
padding:5px;
border-radius: 0px 5px 5px 0px;
-moz-border-radius: 0px 5px 5px 0px;
-webkit-border-radius: 0px 5px 5px 0px;
float:right;
}
.last-rounded-menu a:hover {
font-size:12px;
font-family:arial;
text-align:center;
height:20px;
color:#000000;
background:#dfdfdf;
text-decoration:none;
padding:5px;
border-radius: 0px 5px 5px 0px;
-moz-border-radius: 0px 5px 5px 0px;
-webkit-border-radius: 0px 5px 5px 0px;
float:right;
}
==================================================
The Rounded Corners Menu with CSS
Author : Daniel Likin
URL : http://www.whatmakesblog.com
This CSS styling and the associated (x)html may be modified in any way to fit your preferences. But i'm politely asking you for not removing or changing the credit section of this CSS styling.
==================================================
*/
#rounded-column {
width:100%;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
background:#fff;
height:30px;
padding:0px;
margin:0px;
}
.rounded-menu {
width: 100%;
height:20px
float:left;
margin:0x;
padding:0px;
}
.rounded-menu h2{
display:none;
}
.first-rounded-menu ul{
list-style-type: none;
margin:0px;
padding:0px;
}
.rounded-menu ul{
list-style-type: none;
margin:0px;
padding:0px;
}
.first-rounded-menu li {
list-style-type: none;
margin:0px;
padding:0px;
display:inline;
float:left;
}
.rounded-menu li {
list-style-type: none;
margin:0px;
padding:0px;
display:inline;
float:left;
}
.first-rounded-menu ul li {
list-style-type: none;
margin:0px;
padding:0px;
float:left;
}
.rounded-menu ul li {
list-style-type: none;
margin:0px;
padding:0px;
float:left;
}
.first-rounded-menu a {
font-size:12px;
font-family:arial;
text-align:center;
height:20px;
display:block;
float:left;
color:#696969;
background:#fff;
text-decoration:none;
padding:5px;
border-radius: 5px 0px 0px 5px;
-moz-border-radius: 5px 0px 0px 5px;
-webkit-border-radius: 5px 0px 0px 5px;
}
.first-rounded-menu a:hover {
font-size:12px;
font-family:arial;
text-align:center;
height:20px;
display:block;
float:left;
color:#000000;
background:#dfdfdf;
text-decoration:none;
padding:5px;
border-radius: 5px 0px 0px 5px;
-moz-border-radius: 5px 0px 0px 5px;
-webkit-border-radius: 5px 0px 0px 5px;
}
.rounded-menu a {
font-size:12px;
font-family:arial;
text-align:center;
height:20px;
float:left;
color:#696969;
background:#fff;
text-decoration:none;
padding:5px;
}
.rounded-menu a:hover {
font-size:12px;
font-family:arial;
text-align:center;
height:20px;
float:left;
color:#000000;
background:#dfdfdf;
text-decoration:none;
padding:5px;
}
.last-rounded-menu ul {
list-style-type: none;
margin:0px;
padding:0px;
float:right;
}
.last-rounded-menu li {
list-style-type: none;
margin:0px;
padding:0px;
display:inline;
float:right;
}
.last-rounded-menu ul li {
list-style-type: none;
margin:0px;
padding:0px;
float:right;
}
.last-rounded-menu a {
font-size:12px;
font-family:arial;
text-align:center;
height:20px;
color:#696969;
background:#fff;
text-decoration:none;
padding:5px;
border-radius: 0px 5px 5px 0px;
-moz-border-radius: 0px 5px 5px 0px;
-webkit-border-radius: 0px 5px 5px 0px;
float:right;
}
.last-rounded-menu a:hover {
font-size:12px;
font-family:arial;
text-align:center;
height:20px;
color:#000000;
background:#dfdfdf;
text-decoration:none;
padding:5px;
border-radius: 0px 5px 5px 0px;
-moz-border-radius: 0px 5px 5px 0px;
-webkit-border-radius: 0px 5px 5px 0px;
float:right;
}
4. Find the Code
Okay, after finished putting the CSS styling in your blog template, now let's proceed to the next step. Considering that this Blogger menu bar will be obviously positioned on the top side of your blog, i assume that over or below the header element can be picked out for the position of this Blogger menu bar. Now find again the code below (Ctrl + F):
<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='1'>
<b:widget id='Header1' locked='true' title='Blogging Images (Header)' type='Header'/>
</b:section>
</div>
<b:section class='header' id='header' maxwidgets='1'>
<b:widget id='Header1' locked='true' title='Blogging Images (Header)' type='Header'/>
</b:section>
</div>
5. Put the Code for a New Column
After locating the code section on number 4 above, now block the code below, and press copy.
<div id='rounded-column'>
<b:section class='rounded' id='rounded3' maxwidgets='1'>
<b:widget id='HTML32' locked='true' title='' type='HTML'/>
</b:section>
</div>
After that, paste that code either:<b:section class='rounded' id='rounded3' maxwidgets='1'>
<b:widget id='HTML32' locked='true' title='' type='HTML'/>
</b:section>
</div>
before the code section "header-wrapper", if you want to put the Blogger menu bar over the heading area,
OR after the code section "header-wrapper", if you want to place the Blogger menu bar below the heading area on your blog.6. Save the Template
Now save all the changes in your blog template by pressing the Save Template button, and proceed to the last step, adding the actual menu links on your blog.
7. Go to Page Element
After finished saving your template, now switch the sub-tab to the Page Element.
8. Add the Menu Links in the Provided Column Blogger menu bar
After landing to the Page Element, you will see a new column element has been successfully created on your blog for Blogger menu bar. For example, i assume that on the step number 5 above, you pick the top position over the header as the place of Blogger menu bar, so your blog layout should now look like this:If you can see that new column, now press the Edit link to open a new window. Now copy the code below, and then, paste it inside the HTML/Javascript you've been presented.
<div class="first-rounded-menu">
<ul>
<li><a href="http://www.whatmakesblog.com">Home</a></li>
</ul>
</div>
<div class="rounded-menu">
<ul>
<li><a href="http://www.whatmakesblog.com">About Us</a></li>
<li><a href="http://www.whatmakesblog.com">Contact Us</a></li>
</ul>
</div>
<ul>
<li><a href="http://www.whatmakesblog.com">Home</a></li>
</ul>
</div>
<div class="rounded-menu">
<ul>
<li><a href="http://www.whatmakesblog.com">About Us</a></li>
<li><a href="http://www.whatmakesblog.com">Contact Us</a></li>
</ul>
</div>
9. Customize the LinkOkay, now you need to pay attention to this important part. Before i show how to customize the links, now let me explain to you first about the whole elements inside the Blogger menu bar.
- Firstly, the link named "Home", has been separately created to have rounded corners only on the left top and left bottom position, so this button will still look as a "rounded" even when being hovered by mouse cursor (look at the picture above that has been marked as "first interface").
- Secondly, the rest of the menu links such as: Contact Us, About Us, etc will have a normal square interface (second interface).
- Thirdly, i've also created an extra interface for the last button, iPhone Games, on this Blogger menu bar, which has been created to have a rounded corner only on the right top and right bottom position (third interface). But, i think it's not that necessary to create the last button if you don't have any intention to create a lot of menu buttons on your blog. That's why, in editing the last menu "iPhone Games" will be explained in the last part of this article.
<div class="first-rounded-menu">
<ul>
<li><a href="http://www.whatmakesblog.com">Home</a></li>
</ul>
</div>
<div class="rounded-menu">
<ul>
<li><a href="http://www.whatmakesblog.com">About Us</a></li>
<li><a href="http://www.whatmakesblog.com">Contact Us</a></li>
</div>
As you can see above, there are several URLs and codes that i've marked with the red color.<ul>
<li><a href="http://www.whatmakesblog.com">Home</a></li>
</ul>
</div>
<div class="rounded-menu">
<ul>
<li><a href="http://www.whatmakesblog.com">About Us</a></li>
<li><a href="http://www.whatmakesblog.com">Contact Us</a></li>
</div>
- Now change the URL address http://www.whatmakesblog.com with your own URL address.
- For the links About Us and Contact Us, you must firstly create the landing pages for both links, before adding it into the menu bar. After that, change the words "Home", "About Us" and also, "Contact Us" with other words that suit with your preferences.
Okay, after finished configuring the whole menu buttons and the links, now you can save the widget and see the result.
How to Add More Links on Blogger menu bar?
When everything has worked perfectly on your blog, you may also want to know how exactly to add more menu buttons or links on Blogger menu bar, right? Okay, i'll show that. In the code number 8 and 9, if you want to get more menu links, you can simply put the red code below, before the last code </ul> </div>. Look at the example below.
<div class="first-rounded-menu">
<ul>
<li><a href="http://www.whatmakesblog.com">Home</a></li>
</ul>
</div>
<div class="rounded-menu">
<ul>
<li><a href="http://www.whatmakesblog.com">About Us</a></li>
<li><a href="http://www.whatmakesblog.com">Contact Us</a></li>
</div>
<ul>
<li><a href="http://www.whatmakesblog.com">Home</a></li>
</ul>
</div>
<div class="rounded-menu">
<ul>
<li><a href="http://www.whatmakesblog.com">About Us</a></li>
<li><a href="http://www.whatmakesblog.com">Contact Us</a></li>
<li><a href="http://www.whatmakesblog.com">New Link</a></li>
<li><a href="http://www.whatmakesblog.com">New Link</a></li>
<li><a href="http://www.whatmakesblog.com">New Link</a></li>
<li><a href="http://www.whatmakesblog.com">New Link</a></li>
</ul></div>
How to Create the Last Button on Blogger menu bar?
Earlier in this article, i've already told you that i also wanted to show you how to add the last menu, "iPhone Games", if it's really necessary for you. To do this, now copy the code below and then, paste it on the bottom of the code number 8, or after the last code </ul></div>.
<div class="last-rounded-menu">
<ul>
<li><a href="http://www.whatmakesblog.com">iPhone Games</a></li>
</ul>
</div>
<ul>
<li><a href="http://www.whatmakesblog.com">iPhone Games</a></li>
</ul>
</div>
For example, look at how i put the last menu code of "iPhone Games" menu, on the bottom position of the entire menu:
<div class="first-rounded-menu">
<ul>
<li><a href="http://www.whatmakesblog.com">Home</a></li>
</ul>
</div>
<div class="rounded-menu">
<ul>
<li><a href="http://www.whatmakesblog.com">About Us</a></li>
<li><a href="http://www.whatmakesblog.com">Contact Us</a></li>
</ul>
</div>
<div class="last-rounded-menu">
<ul>
<li><a href="http://www.whatmakesblog.com">iPhone Games</a></li>
</ul>
</div>
<ul>
<li><a href="http://www.whatmakesblog.com">Home</a></li>
</ul>
</div>
<div class="rounded-menu">
<ul>
<li><a href="http://www.whatmakesblog.com">About Us</a></li>
<li><a href="http://www.whatmakesblog.com">Contact Us</a></li>
</ul>
</div>
<div class="last-rounded-menu">
<ul>
<li><a href="http://www.whatmakesblog.com">iPhone Games</a></li>
</ul>
</div>
Considering the menu "iPhone Games" is the last menu that will be placed on the corner of the Blogger menu bar, you can only apply 1 link for that last menu.
Okay, that's it my tips to create a rounded corner Blogger menu bar on your blog. In the next article, i'll show you how to modify the interface of the menu buttons on Blogger menu bar with more attractive interfaces. So stick around.
Anyway, you might also want to read these old articles:
- How to Blogger Menu Bar on Blogger blog?
- Customizing Blogger Menu Bar with More Attractive Hover Effect
- Cool Blogger Menu Bar Buttons Added to Blogger Layout
- Redesigning Blogger Menu Bar Buttons with More Attractive Colors
- Replacing Blogger Menu Bar Buttons with More Blend Interface
- Easy Blogger Menu Bar in Vertical Style Added to Blogger Layout
- CustomizeBlogger Menu Bar in Vertical Style with Another Buttons
You might also like to read :
Share This Article to Other People Across the World !
Thanks!
Get the fresh update from Whatmakesblog.com!
To get updates from this blog, just enter your email address in the below subscription form and then click Subscribe.
Your email address will not be shared to any third party
Delivered by FeedBurner
Labels:
Blogger Menu Bar









6 comments:
Good information. One question I can't seem to find the code you listed in step 4? Any Ideas or Help?
I found it. My only problem is that there is a huge space between my third link and the last link. Any help would be appreciated.
nevermind, i figure out the spacing too. Great site. thanks for the help!
Hello,
Really liked your website really got your point acrosss. Found it while going through google so wanted to tell you good job and you have a bookmark from me.
Hi,
I enjoy reading a lot and your stories are worth reading, nice blog, keep it up.
Excellent resource.
I learned a lot about CSS from your posts.
Thanx
Post a Comment