Tampilkan postingan dengan label CSS. Tampilkan semua postingan
Tampilkan postingan dengan label CSS. Tampilkan semua postingan

10 Attractive CSS Vertical Navigation Menu bar For Website & Blog

NAVIGATION-is-like-a-Road-signNavigation menu is the most important widget that every website or blog have. There are main two types of navigation menus. Horizontal navigation menu and Vertical navigation menu are the these two types. In vertical menu links are listed in vertical order one by one and in Horizontal menus, links are listed in inline. We can add a horizontal navigation bar at the top of the page like in the header section. Also  vertical navigation bar can be placed in the sidebar or footer of a web page. These navigation bars help both reader and site owner. Some reasons that you should add a navigation bar are listed in below.


  1. Ability of navigation within pages easily : This will make your site user friendly site and consequently bounce rate will be reduced. Also number of page views for one visitor would be increased and Alexa rank will be increased quickly.
  2. Flow of link juice : This is a very important factor to remain the page rank in each page. Generally in most times, Backlinks are focused to the main page or home page. So by adding navigation menu, you link each page in home page, archive page and other pages. So the possibility of inflow of link juice to post pages is high. That will ensure the search engine ranks of your post pages.
  3. Ability of linking categories and Older posts : Categories or Labels are the grouped posts such as Archive pages. Archive pages include the posts within a time period.Also category pages contain posts that belong to each tag and category. To increase the page views, you can  add category links/Label links on the menu bar.
ReadHow to add Feeds for Labels in Blogger

Now you know why you should add a navigation bar on your  blog or website. Before a few months ago, I have rendered some navigation bars. After some requests of friends, I have created some vertical menus and horizontal menus using pure CSS. Yes, By using CSS3 gradients and transitions, we can create beautiful menu bars. This post would be a gift to you, because all these CSS vertical menu bars can be added into your website,Blogger blog or Wordpress blog easily.

You can add one of below ten attractive vertical menu bars to your site easily. Follow below instructions to add vertical menu bar widgets to your site.

Add Vertical Navigation menu to the Website


1: Go to your website control panel.
2: In the website template, search for </head> code. Then paste the CSS code of navigation menu bar within <style> and </style> tags just above of </head> code.

E.G:-

 <style>
------------------------
---------
CSS code of Menu
---------
------------------------
</style>
</head>
3: After adding CSS code, place HTML code of the navigation bar in the body section where you want to show the vertical menu.

CheckYouTube Recent Activity/Uploads Widget

Add Vertical Navigation menu to Blogger Blog


1: Sign in to your Blogger account and go to Dashboard >> Template >> Edit HTML.
2: Find below code in your template.
]]</b:skin>
3: Copy and paste the CSS code of vertical menu bar, just above it like below.

CSS code of Menu
]]</b:skin>

4: Then Save your Template.
5: Navigate to Layout and click on a 'Add Gadget' link in layout sections where you want to display the menu widget.
6: Click on HTML/JavaScript page element and paste the HTML code of navigation menu.
7: After making necessary changes such as adding URLs and changing titles, Save the HTML/JavaScript page element.

Add Vertical Navigation menu to Tumblr Blog


1: Sign in to your Tumblr account.
2: Click on the blog that you want to add the navigation menu.
3: Then click on the gear icon on the top navigation menu to navigate settings page.
4:  Under  Theme section, you can see the 'Customize' button. Click on it. Then click on the Edit HTML button to edit the template.
5: Now find </style> code in your Tumblr theme. (Tip: use Ctrl + F keyboard shortcut in PC and Command + F keys in Mac)

Paste the CSS code just above of  '</style>' closing tag.

6: If your Tumblr theme has a sidebar section,search ‘sidebar’ id code and find the location on theme. Then paste the HTML code just below of side bar section like below image.

Customize-Tumblr-Theme
Click Image to Enlarge


If your tumblr theme doesn’t have  a side bar section,you can add the HTML code between <body> and </body> codes in your theme. To add Vertical menu bar just above post, search below code and paste the HTML code just below of it.

<section id="posts">

7: Click on “Update Preview” button to see the template changes that you made.
8: Click on “Save” button.

Add Vertical Navigation menu to WordPress Blogs


1: Go to admin panel >> Theme >> Appearance >> Widget.
2: Drag a text file to the sidebar and paste the CSS code between <style> and </style> codes.
After that, paste the HTML code and save the Text editor

Now Let’s see what’re the Vertical menu bars. To view the demo,click on ‘Demo’ button.

Style #1 : Black color Vertical Navigation Menu


Black-color-Vertical-Navigation-Menu


Demo

CSS Code :

/*-----Vertical  Navigation from www.problogtricks.com-----*/
#Nav-Vr_01 {
list-style-type:none;
margin:o;
padding:0;
}
#Nav-Vr_01 li {
margin:0;
padding:0;
}
#Nav-Vr_01 li a {
display:inline-block;
width:230px;
height:auto;
margin:0;
padding:4px 5px;
font-size:32px;
text-decoration:none;
font-family:'Comic Sans MS',cursive;
text-transform:capitalize;
text-align:left;
text-indent:30px;
color:#888888;
text-shadow:1px 2px 0 #ddd,1px 1px 2px #eee;
background-image:-webkit-gradient(linear,100% 0%,0% 0%,from(rgba(11,11,11,0.75)),to(rgba(88,88,88,0.95)));
background-image:-webkit-linear-gradient(top,rgba(11,11,11,0.75) 0%,rgba(88,88,88,0.95) 100%);
background-image:-moz-linear-gradient(top,rgba(11,11,11,0.75) 0%,rgba(88,88,88,0.95) 100%);
background-image:-o-linear-gradient(top,rgba(11,11,11,0.75) 0%,rgba(88,88,88,0.95) 100%);
background-image:-ms-linear-gradient(top,rgba(11,11,11,0.75) 0%,rgba(88,88,88,0.95) 100%);
background-image:linear-gradient(top,rgba(11,11,11,0.75) 0%,rgba(88,88,88,0.95) 100%);
-webkit-transition:all 0.5s ease;
-moz-transition:all 0.5s ease;
transition:all 0.5s ease;
}
#Nav-Vr_01 li a:hover {
background-image:-webkit-gradient(linear,100% 0%,0% 0%,from(rgba(8,8,8,0.9)),to(rgba(86,86,86,0.99)));
background-image:-webkit-linear-gradient(top,rgba(8,8,8,0.9) 0%,rgba(86,86,86,0.99) 100%);
background-image:-moz-linear-gradient(top,rgba(8,8,8,0.9) 0%,rgba(86,86,86,0.99) 100%);
background-image:-o-linear-gradient(top,rgba(8,8,8,0.9) 0%,rgba(86,86,86,0.99) 100%);
background-image:-ms-linear-gradient(top,rgba(8,8,8,0.9) 0%,rgba(86,86,86,0.99) 100%);
background-image:linear-gradient(top,rgba(8,8,8,0.9) 0%,rgba(86,86,86,0.99) 100%);
-moz-transition:all 5.0s ease-in;
-webkit-transition:all 5.0s ease-in;
-o-transition:all 5.0s ease-in;
transition:all 5.0s ease-in;
}
#Nav-Vr_01 li:first-child  a {
-moz-border-radius:8px 8px 0 0 !important;
-webkit-border-radius:8px 8px 0 0 !important;
border-radius:8px 8px 0 0 !important;
}
#Nav-Vr_01 li:last-child  a {
-moz-border-radius:0 0 8px 8px !important;
-webkit-border-radius:0 0 8px 8px !important;
border-radius:0 0 8px 8px !important;
}
#Nav-Vr_01 li a:active {
background-image:-webkit-gradient(linear,100% 0%,0% 0%,from(rgba(8,8,8,0.9)),to(rgba(9,9,9,0.85)));
background-image:-webkit-linear-gradient(top,rgba(8,8,8,0.9) 0%,rgba(9,9,9,0.85) 100%);
background-image:-moz-linear-gradient(top,rgba(8,8,8,0.9) 0%,rgba(9,9,9,0.85) 100%);
background-image:-o-linear-gradient(top,rgba(8,8,8,0.9) 0%,rgba(9,9,9,0.85) 100%);
background-image:-ms-linear-gradient(top,rgba(8,8,8,0.9) 0%,rgba(9,9,9,0.85) 100%);
background-image:linear-gradient(top,rgba(8,8,8,0.9) 0%,rgba(9,9,9,0.85) 100%);
}

HTML code :

 <ul id="Nav-Vr_01">
<li><a href="#">Home</a></li>
<li><a href="#">Films</a></li>
<li><a href="#">Cartoons</a></li>
<li><a href="#">Songs</a></li>
<li><a href="#">Download</a></li>
<li><a href="#">lyrics</a></li>
<li><a href="#">Help</a></li>
</ul>

Style #2 : Border Enabled Navigation Menu


Border-Enabled-Navigation-Menu




CSS Code :

/*-----Vertical Navigation from www.problogtricks.com-----*/
#navpbt-02 {
list-style-type:none;
margin:0;
padding:0;
}
#navpbt-02 li {
margin:0;padding:0;
}
#navpbt-02 li a {
display:inline-block;
margin:0;
height:auto;
width:230px;
padding:4.5px 6px;
text-indent:10px;
text-decoration:none;
text-transform:capitalize;
font-size:28px;
font-family:Helvetica,Arial,'DejaVu Sans','Liberation Sans',Freesans,sans-serif;
color:#B8B4B4;
font-weight:bold;
text-shadow:0px 1px 1px #7F7F7F,1px  2px 4px #909090,0 2px 0 #909090,0px 1px 1px #747474;
border-bottom:1px dotted #4A4B4B;
border-top:1px dotted transparent;
background:-webkit-gradient(linear,100% 0%,0% 0%,from(#323131),color-stop(0.50 #1E1D1D),to(#323131));
background:-moz-linear-gradient(top,#323131 0%,#1E1D1D 50%,#323131 100%);
background:-webkit-linear-gradient(top,#323131 0%,#1E1D1D 50%,#323131 100%);
background:-ms-linear-gradient(top,#323131 0%,#1E1D1D 50%,#323131 100%);
background:-o-linear-gradient(top,#323131 0%,#1E1D1D 50%,#323131 100%);
background:-linear-gradient(top,#323131 0%,#1E1D1D 50%,#323131 100%);
}
#navpbt-02 li a:hover {
border-bottom-style:solid;
background:-webkit-gradient(linear,100% 0%,0% 0%,from(rgba(124,233,240,0.75)),color-stop(0.50 #1E1D1D),to(rgba(124,233,240,0.75)));
background:-webkit-linear-gradient(top,rgba(124,233,240,0.75) 0%,#1E1D1D 50%,rgba(124,233,240,0.75) 100%);
background:-moz-linear-gradient(top,rgba(124,233,240,0.75) 0%,#1E1D1D 50%,rgba(124,233,240,0.75) 100%);
background:-ms-linear-gradient(top,rgba(124,233,240,0.75) 0%,#1E1D1D 50%,rgba(124,233,240,0.75) 100%);
background:-o-linear-gradient(top,rgba(124,233,240,0.75) 0%,#1E1D1D 50%,rgba(124,233,240,0.75) 100%);
background:-linear-gradient(top,rgba(124,233,240,0.75) 0%,#1E1D1D 50%,rgba(124,233,240,0.75) 100%);
}
#navpbt-02 li a:active {
border-bottom:1px solid green;
border-top:1px solid green;
background:-webkit-gradient(linear,100% 0%,0% 0%,from(rgba(105,235,193,0.70)),color-stop(0.50 rgba(86,97,255,0.75)),to(rgba(105,235,193,0.70)));
background:-webkit-linear-gradient(top,rgba(105,235,193,0.70) 0%,rgba(86,97,255,0.75) 50%,rgba(105,235,193,0.70) 100%);
background:-moz-linear-gradient(top,rgba(105,235,193,0.70) 0%,rgba(86,97,255,0.75) 50%,rgba(105,235,193,0.70) 100%);
background:-ms-linear-gradient(top,rgba(105,235,193,0.70) 0%,rgba(86,97,255,0.75) 50%,rgba(105,235,193,0.70) 100%);
background:-o-linear-gradient(top,rgba(105,235,193,0.70) 0%,rgba(86,97,255,0.75) 50%,rgba(105,235,193,0.70) 100%);
background:-linear-gradient(top,rgba(105,235,193,0.70) 0%,rgba(86,97,255,0.75) 50%,rgba(105,235,193,0.70) 100%);
}
#navpbt-02 li:first-child a {
-moz-border-radius:8px 8px 0px 0px;
-webkit-border-radius:8px 8px 0px 0px;
border-radius:8px 8px 0px 0px;
}
#navpbt-02 li:last-child a {
-moz-border-radius:0px 0px 8px 8px;
-webkit-border-radius:0px 0px 8px 8px;
border-radius:0px 0px 8px 8px;
}

HTML code :

<ul id="navpbt-02">
<li><a href="#">Home</a></li>
<li><a href="#">Freebies</a></li>
<li><a href="#">Widgets</a></li>
<li><a href="#">Templates</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Advertise</a></li>
</ul>

Style #3 : Dark color Vertical Navigation Menu


Dark-color-Vertical-Navigation-Menu



CSS Code :

/*-----Vertical Navigation from www.problogtricks.com-----*/
#navpbt03 {
list-style-type:none;
margin:0;padding:0;
}
#navpbt03 li {
margin:0;padding:0;
}
#navpbt03 li a {
display:inline-block;
height:auto;
width:220px;
margin:0;
padding:4.5px 6px;
text-indent:15px;
text-decoration:none;
text-transform:capitalize;
font-weight:bold;
font-style:normal;
font-size:30px;
font-family:Constantia,Georgia,'Nimbus Roman No9 L',serif;
color:#9DA2AD;
border-bottom:1px dotted #525253;
background:-webkit-gradient(linear,100% 0%,0% 0%,from(#444444),color-stop(0.50 rgba(40,40,44,0.8)),to(#272727));
background:-webkit-linear-gradient(top,#444444 0%,rgba(40,40,44,0.8) 50%,#272727 100%);
background:-o-linear-gradient(top,#444444 0%,rgba(40,40,44,0.8) 50%,#272727 100%);
background:-ms-linear-gradient(top,#444444 0%,rgba(40,40,44,0.8) 50%,#272727 100%);
background:-moz-linear-gradient(top,#444444 0%,rgba(40,40,44,0.8) 50%,#272727 100%);
background:-linear-gradient(top,#444444 0%,rgba(40,40,44,0.8) 50%,#272727 100%);
}
#navpbt03 li a:hover,#navpbt03 li a:active{
color:#1756D4;
border-bottom-color:#F5B348;
background:-webkit-gradient(linear,100% 0%,0% 0%,from(#E5CD44),color-stop(0.50 #EDEA30),to(#F5B348));
background:-webkit-linear-gradient(top,#E5CD44 0%,#EDEA30 50%,#F5B348 100%);
background:-o-linear-gradient(top,#E5CD44 0%,#EDEA30 50%,#F5B348 100%);
background:-ms-linear-gradient(top,#E5CD44 0%,#EDEA30 50%,#F5B348 100%);
background:-moz-linear-gradient(top,#E5CD44 0%,#EDEA30 50%,#F5B348 100%);
background:-linear-gradient(top,#E5CD44 0%,#EDEA30 50%,#F5B348 100%);
-moz-transition:all .4px ease;
-webkit-transition:all .4px ease;
-o-transition:all .4px ease;
transition:all .4px ease;
}
#navpbt03 li a:active{
color:#529022 !important;
-moz-transition:all .4px ease-out;
-webkit-transition:all .4px ease-out;
-o-transition:all .4px ease-out;
transition:all .4px ease-out;
}
#navpbt03 li:first-child a {
-moz-border-radius:8px 8px 0px 0px;
-webkit-border-radius:8px 8px 0px 0px;
border-radius:8px 8px 0px 0px;
}
#navpbt03 li:last-child a {
-moz-border-radius:0px 0px 8px 8px;
-webkit-border-radius:0px 0px 8px 8px;
border-radius:0px 0px 8px 8px;
}

HTML code :

<ul id="navpbt03">
<li><a href="#">Home</a></li>
<li><a href="#">Freebies</a></li>
<li><a href="#">Widgets</a></li>
<li><a href="#">Templates</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Advertise</a></li>
</ul> 

Style #4 : Box Shadow enabled Vertical Navigation Menu


Box-Shadow-enabled-Vertical-Navigation-Menu




CSS Code :

/*-----Vertical Navigation from www.problogtricks.com-----*/
#navpbt-04 {
list-style-type:none;
margin:0;
padding:0;
}
#navpbt-04 li {
margin:0;
padding:0;
}
#navpbt-04 li a {
display:inline-block;
height:auto;
width:230px;
margin:;
padding:4.5px 6px;
text-indent:13px;
text-transform:capitalize;
text-decoration:none;
font-weight:bold;
font-size:28px;
color:#B5B5AF;
font-family:Arial,'DejaVu Sans','Liberation Sans',Freesans,sans-serif;
border-bottom:1px dotted #ccc;
background:-webkit-gradient(linear,100% 0%,0% 0%,from(#383737),color-stop(0.50 #131313),to(#2F2F2F));
background:-webkit-linear-gradient(top,#383737 0%,#131313 50%,#2F2F2F 100%);
background:-moz-linear-gradient(top,#383737 0%,#131313 50%,#2F2F2F 100%);
background:-o-linear-gradient(top,#383737 0%,#131313 50%,#2F2F2F 100%);
background:-ms-linear-gradient(top,#383737 0%,#131313 50%,#2F2F2F 100%);
background:-linear-gradient(top,#383737 0%,#131313 50%,#2F2F2F 100%);
}
#navpbt-04 li:first-child a {
-moz-border-radius:8px 8px 0px 0px;
-webkit-border-radius:8px 8px 0px 0px;
border-radius:8px 8px 0px 0px;
}
#navpbt-04 li:last-child a {
-moz-border-radius:0px 0px 8px 8px;
-webkit-border-radius:0px 0px 8px 8px;
border-radius:0px 0px 8px 8px;
}
#navpbt-04 li a:hover {
box-shadow:inset 0px 1px 2px 2.1111px #323CC4;
color:#E3E3E3;
border-bottom-color:transparent;
border-top-color:transparent;
background:-webkit-gradient(linear,100% 0%,0% 0%,from(#383737),color-stop(0.50 #161616),to(#161616));
background:-webkit-linear-gradient(top,#383737 0%,#161616 50%,#161616 100%);
background:-moz-linear-gradient(top,#383737 0%,#161616 50%,#161616 100%);
background:-o-linear-gradient(top,#383737 0%,#161616 50%,#161616 100%);
background:-ms-linear-gradient(top,#383737 0%,#161616 50%,#161616 100%);
background:-linear-gradient(top,#383737 0%,#161616 50%,#161616 100%);
-moz-transition:all .4s ease;
-webkit-transition:all .4s ease;
-o-transition:all .4s ease;
transition:all .4s ease;
}

HTML code :

<ul id="navpbt-04">
<li><a href="#">Home</a></li>
<li><a href="#">Marketing</a></li>
<li><a href="#">Web design</a></li>
<li><a href="#">Programming</a></li>
<li><a href="#">Article Writing</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact</a></li>
</ul> 

Style #5 : Milky Hover Vertical Navigation Menu


Milky-Hover-Vertical-Navigation-Menu




CSS Code :

/*-----Vertical Navigation from www.problogtricks.com-----*/
#navpbt-05 {
margin:0;padding:0;list-style-type:none;
}
#navpbt-05 li {
margin:0;padding:0;
}
#navpbt-05 li a {
margin:0;
display:inline-block;
height:auto;
width:203px;
padding:4.5px 6px;
text-decoration:none;
text-transform:capitalize;
text-indent:13px;
font-size:28px;
font-weight:bold;
color:#B4AEAE;
border-bottom:1px solid #2F2F2F;
background:-webkit-gradient(linear,100% 0%,0% 0%,from(#292727),color-stop(0.50 #383737),to(#242424));
background:-webkit-linear-gradient(top,#292727 0%,#383737 50%,#242424 100%);
background:-o-linear-gradient(top,#292727 0%,#383737 50%,#242424 100%);
background:-ms-linear-gradient(top,#292727 0%,#383737 50%,#242424 100%);
background:-moz-linear-gradient(top,#292727 0%,#383737 50%,#242424 100%);
background:-linear-gradient(top,#292727 0%,#383737 50%,#242424 100%);
}
#navpbt-05 li a:hover {
color:#3A53E4;
text-shadow:1px 1px 1px #5870E3;
border-bottom:1px solid black;
background:-webkit-gradient(linear,100% 0%,0% 0%,from(#D4D4D4),color-stop(0.50 #EFEFEF),to(#E0E0DF));
background:-webkit-linear-gradient(top,#D4D4D4 0%,#EFEFEF 50%,#E0E0DF 100%);
background:-o-linear-gradient(top,#D4D4D4 0%,#EFEFEF 50%,#E0E0DF 100%);
background:-ms-linear-gradient(top,#D4D4D4 0%,#EFEFEF 50%,#E0E0DF 100%);
background:-moz-linear-gradient(top,#D4D4D4 0%,#EFEFEF 50%,#E0E0DF 100%);
background:-linear-gradient(top,#D4D4D4 0%,#EFEFEF 50%,#E0E0DF 100%);
-webkit-transition:all .4s ease;
-moz-transition:all .4s ease;
transition:all .4s ease;
}
#navpbt-05 li a:active {
text-shadow:1px 2px 1px #ccc;
}
#navpbt-05 li:first-child a {
-moz-border-radius:8px 8px 0 0;
-webkit-border-radius:8px 8px 0 0;
border-radius:8px 8px 0 0;
}
#navpbt-05 li:last-child a {
-moz-border-radius:0 0 8px 8px;
-webkit-border-radius:0 0 8px 8px;
border-radius:0 0 8px 8px;
border-bottom:none;
}

HTML Code :

<ul id="navpbt-05">
<li><a href="#" title="Home">Home</a></li>
<li><a href="#">Freebies</a></li>
<li><a href="#">Widgets</a></li>
<li><a href="#">Templates</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Advertise</a></li>
</ul> 

 Style #6 : Moire Rounded Vertical Navigation Menu


Moire-Rounded-Vertical-Navigation-Menu




CSS Code :

/*-----Vertical Navigation from www.problogtricks.com-----*/
#navpbt-06 {
list-style-type:none;
padding:0;margin:0;
}
#navpbt-06  li {
margin:0;padding:0;
}
#navpbt-06 li a {
display:inline-block;
margin:0;
padding:4.5px 6px;
height:auto;
width:230px;
text-decoration:none;
text-transform:capitalize;
font-size:28px;
font-weight:bold;
text-indent:14px;
color:#4D1809;
font-family:Constantia,Georgia,'Nimbus Roman No9 L',serif;
border-bottom:1px solid #674110;
background:-webkit-gradient(linear,100% 0%,0% 0%,from(#A36411),color-stop(0.50 #C17613),to(#7D5116));
background:-webkit-linear-gradient(top,#A36411 0%,#C17613 50%,#7D5116 100%);
background:-moz-linear-gradient(top,#A36411 0%,#C17613 50%,#7D5116 100%);
background:-o-linear-gradient(top,#A36411 0%,#C17613 50%,#7D5116 100%);
background:-ms-linear-gradient(top,#A36411 0%,#C17613 50%,#7D5116 100%);
background:-linear-gradient(top,#A36411 0%,#C17613 50%,#7D5116 100%);
-moz-transition:all 0.65s linear;
-webkit-transition:all 0.65s linear;
-o-transition:all 0.65s linear;
transition:all 0.65s linear;
}
#navpbt-06 li a:hover {
color:#F7F7F7;
text-shadow:1px 1px 1px  #434242,1px 1px 1px  #434242,1px 1px 1px  #434242,1px 1px 1px  #434242,1px 1px 1px  #434242,1px 1px 1px  #434242;
-moz-transition:all .5s linear;
-webkit-transition:all .5s linear;
-o-transition:all .5s linear;
transition:all .5s linear;
}
#navpbt-06 li a:active {
color:#070707;
}

HTML code :

<ul id="navpbt-06">
<li><a href="#" title="Home">Home</a></li>
<li><a href="#">Software</a></li>
<li><a href="#">News</a></li>
<li><a href="#">Sports</a></li>
<li><a href="#">Adventures</a></li>
<li><a href="#">Top 20</a></li>
<li><a href="#">Sign Up</a></li>
</ul>

Style #7 : Smooth Vertical Navigation Menu


Smooth-Vertical-Navigation-Menu





CSS Code :

/*-----Vertical Navigation from www.problogtricks.com-----*/
#navpbt-07 {
margin:0;padding:0;list-style-type:none;
}
#navpbt-07 li {
margin:0;padding:0;
}
#navpbt-07 li a {
display:inline-block;
width:250px;
height:auto;
padding:5px 6px 5px 6px;
border:1px solid #DCDCDC;
font-size:24px;
font-family:'Tahoma',sans-serif;
text-transform:capitalize;
text-decoration:none;
text-indent:12px;
font-weight:bold;
color:#565252;
background:-webkit-gradient(linear,100% 0%,0% 0%,from(#EAEAEA),color-stop(0.49,rgba(201,201,201,0.5)),to(#E3E2E2));
background:-webkit-linear-gradient(top,#EAEAEA 0%,rgba(201,201,201,0.5) 49%,#E3E2E2 100%);
background:-ms-linear-gradient(top,#EAEAEA 0%,rgba(201,201,201,0.5) 49%,#E3E2E2 100%);
background:-o-linear-gradient(top,#EAEAEA 0%,rgba(201,201,201,0.5) 49%,#E3E2E2 100%);
background:-moz-linear-gradient(top,#EAEAEA 0%,rgba(201,201,201,0.5) 49%,#E3E2E2 100%);
background:-linear-gradient(top,#EAEAEA 0%,rgba(201,201,201,0.5) 49%,#E3E2E2 100%);
-webkit-transition:all .4s linear;
-moz-transition:all .4s linear;
-o-transition:all .4s linear;
transition:all .4s linear;
}
#navpbt-07 li a:hover {
padding:5px 2px 5px 10px;
color:#9F781B;
font-family:Verdana,Geneva,'DejaVu Sans',sans-serif;
background:-webkit-gradient(linear,100% 0%,0% 0%,from(#DFDDDD),color-stop(0.49,rgba(201,201,201,0.5)),to(#E3E2E2));
background:-webkit-linear-gradient(top,#DFDDDD 0%,rgba(201,201,201,0.5) 49%,#E3E2E2 100%);
background:-ms-linear-gradient(top,#DFDDDD 0%,rgba(201,201,201,0.5) 49%,#E3E2E2 100%);
background:-o-linear-gradient(top,#DFDDDD 0%,rgba(201,201,201,0.5) 49%,#E3E2E2 100%);
background:-moz-linear-gradient(top,#DFDDDD 0%,rgba(201,201,201,0.5) 49%,#E3E2E2 100%);
background:-linear-gradient(top,#DFDDDD 0%,rgba(201,201,201,0.5) 49%,#E3E2E2 100%);
-webkit-transition:all .4s linear;
-moz-transition:all .4s linear;
-o-transition:all .4s linear;
transition:all .4s linear;
}
#navpbt-07 li:first-child a{
-moz-border-radius:7px 7px 0 0;
-webkit-border-radius:7px 7px 0 0;
border-radius:7px 7px 0 0;
}
#navpbt-07 li:last-child a {
-moz-border-radius:0 0 7px 7px;
-webkit-border-radius:0 0 7px 7px;
border-radius:0 0 7px 7px;
}

HTML Code :

<ul id="navpbt-07">
<li><a href="#" title="Home">Home</a></li>
<li><a href="#">SEO Tips</a></li>
<li><a href="#">SMO Tips</a></li>
<li><a href="#">Templates</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Advertise</a></li>
</ul> 

Style #8 : Solid colored Vertical Navigation Menu


Solid-colored-Vertical-Navigation-Menu




CSS Code :

/*-----Vertical Navigation from www.problogtricks.com-----*/
#navpbt-08 {
list-style-type:none;
margin:0;
padding:0;
}
#navpbt-08 li {
margin:0;padding:0;
}
#navpbt-08 li a {
display:inline-block;
width:230px;
height:auto;
margin:0;
padding:4.5px 6px;
text-indent:13px;
text-decoration:none;
text-transform:capitalize;
font-size:28px;
font-weight:bold;
color:#1D1E1F;
font-family:Constantia,Georgia,'Nimbus Roman No9 L',serif;
border-bottom:1px solid #7E8183;
background:#A0A2A2;
background:-webkit-gradient(linear,100% 0%,0% 0%,from(#A0A2A2),color-stop(0.50 #BABABA),to(#8F9393));
background:-webkit-linear-gradient(top,#A0A2A2 0%,#BABABA 50%,#8F9393 100%);
background:-moz-linear-gradient(top,#A0A2A2 0%,#BABABA 50%,#8F9393 100%);
background:-o-linear-gradient(top,#A0A2A2 0%,#BABABA 50%,#8F9393 100%);
background:-ms-linear-gradient(top,#A0A2A2 0%,#BABABA 50%,#8F9393 100%);
background:-linear-gradient(top,#A0A2A2 0%,#BABABA 50%,#8F9393 100%);
}
#navpbt-08 li a:hover,#navpbt-08 li a:active {
background:#35BAF3;
background:-webkit-gradient(linear,100% 0%,0% 0%,from(#35BAF3),color-stop(0.50 #35EDF3),to(#35BAF3));
background:-webkit-linear-gradient(top,#35BAF3 0%,#35EDF3 50%,#35BAF3 100%);
background:-moz-linear-gradient(top,#35BAF3 0%,#35EDF3 50%,#35BAF3 100%);
background:-o-linear-gradient(top,#35BAF3 0%,#35EDF3 50%,#35BAF3 100%);
background:-ms-linear-gradient(top,#35BAF3 0%,#35EDF3 50%,#35BAF3 100%);
background:-linear-gradient(top,#35BAF3 0%,#35EDF3 50%,#35BAF3 100%);
-moz-transition:background .3s ease;
-webkit-transition:background .3s ease;
transition:background .3s ease;
}

HTML Code :

<ul id="navpbt-08">
<li><a href="#" title="Home">Home</a></li>
<li><a href="#">Web Hosting</a></li>
<li><a href="#">Packages</a></li>
<li><a href="#">Domains</a></li>
<li><a href="#">Affiliate</a></li>
<li><a href="#">Coupons</a></li>
<li><a href="#">Contact</a></li>
</ul> 

Style #9 : Balloon like Vertical Navigation Menu


Balloon-like-Vertical-Navigation-Menu




CSS Code :

/*-----Vertical Navigation from www.problogtricks.com-----*/
#navpbt-09 {
list-style:none;
margin:4px;
padding:0;
}
#navpbt-09 li {
margin:0;
padding:0;
}
#navpbt-09  li a {
display:inline-block;
width:230px;
height:auto;
margin:0;
padding:5px 6.3px;
color:#0E564A;
text-decoration:none;
text-indent:13px;
text-transform:capitalize;
font-size:30px;
font-weight:bold;
font-style:normal;
font-family:Cambria,'Palatino Linotype','Book Antiqua','URW Palladio L',serif;
border-bottom:1px solid #43290A;
background:-webkit-gradient(linear,100% 0%,0% 0%,from(#CA8F4D),color-stop(0.33 #AF793B),color-stop(0.66 rgba(141,95,43,0.70)),to(#5C3911));
background:-webkit-linear-gradient(top,#CA8F4D 0%,#AF793B 33%,rgba(141,95,43,0.70) 70%,#5C3911 100%);
background:-moz-linear-gradient(top,#CA8F4D 0%,#AF793B 33%,rgba(141,95,43,0.70) 70%,#5C3911 100%);
background:-o-linear-gradient(top,#CA8F4D 0%,#AF793B 33%,rgba(141,95,43,0.70) 70%,#5C3911 100%);
background:-ms-linear-gradient(top,#CA8F4D 0%,#AF793B 33%,rgba(141,95,43,0.70) 70%,#5C3911 100%);
background:linear-gradient(top,#CA8F4D 0%,#AF793B 33%,rgba(141,95,43,0.70) 70%,#5C3911 100%);
-moz-transition:all 0.5s linear;
-webkit-transition:all 0.5s linear;
transition:all 0.5s linear;
}
#navpbt-09  li a:hover {
color:#1A5309;
-webkit-border-radius:4px;
-moz-border-radius:4px;
border-radius:4px;
-webkit-transform:scale(1.05);
-moz-transform:scale(1.05);
transform:scale(1.05);
-moz-transition:all 0.5s ease;
-webkit-transition:all 0.5s ease;
transition:all 0.5s ease;
}
#navpbt-09  li a:active {
position:relative;
top:1px;
-moz-transition:all 0.5s ease;
-webkit-transition:all 0.5s ease;
transition:all 0.5s ease;
}

HTML Code :

 <ul id="navpbt-09">
<li><a href="#" title="HomePage">Home</a></li>
<li><a href="#">Blogging</a></li>
<li><a href="#">Gadgets</a></li>
<li><a href="#">Tools</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Advertise</a></li>
</ul>

Style #10 :  Vertical Navigation Menu with CSS Transform


Vertica-Navigation-Menu-with-CSS-Transform





CSS Code :

/*-----Vertical Navigation from www.problogtricks.com-----*/
#navpbt-10 {
list-style:none;
margin:0px;
padding:0;
}
#navpbt-10 li {
margin:o ;
padding:0;
}
#navpbt-10 li a {
display:inline-block;
width:230px;
height:auto;
padding:4.5px 6px;
margin:0;
text-decoration:none;
text-transform:capitalize;
text-indent:13px;
font-size:28px;
font-weight:bold;
color:#2F2F2F;
font-family:Constantia,Georgia,'Nimbus Roman No9 L',serif;
text-shadow:0px -1px 0px rgba(255,255,255,0.3),0px -1px 0px rgba(255,255,255,0.5);
line-height:1em;
border-bottom:1px solid #373736;
background:#6A6C6F;
background:-webkit-gradient(linear,left top,right bottom,from(#464646),color-stop(0.330 #6A6C6F),color-stop(0.66 #6A6C6F),color-stop(0.83 #5F5F60),to(#454546));
background:-o-linear-gradient(top,#464646 0%,#6A6C6F 33%,#6A6C6F 66%,#5F5F60 83%,#454546 100%);
background:-webkit-linear-gradient(top,#464646 0%,#6A6C6F 33%,#6A6C6F 66%,#5F5F60 83%,#454546 100%);
background:-moz-linear-gradient(top,#464646 0%,#6A6C6F 33%,#6A6C6F 66%,#5F5F60 83%,#454546 100%);
background:-ms-linear-gradient(top,#464646 0%,#6A6C6F 33%,#6A6C6F 66%,#5F5F60 83%,#454546 100%);
background:linear-gradient(top,#464646 0%,#6A6C6F 33%,#6A6C6F 66%,#5F5F60 83%,#454546 100%);
-moz-transition:all 0.4s ease;
-webkit-transition:all 0.4s ease;
-o-transition:all 0.4s ease;
transition:all 0.4s ease;
}
#navpbt-10 li a:hover {
color:rgba(226,226,226,0.9);
text-shadow:0px -1px 0px rgba(0,0,0,0.3),0px -1px 0px rgba(0,0,0,0.5);
-moz-transition:all 0.4s ease;
-webkit-transition:all 0.4s ease;
-o-transition:all 0.4s ease;
transition:all 0.4s ease;
}
#navpbt-10 li a {
-moz-border-radius:8px;
-webkit-border-radius:8px;
border-radius:8px;
}
#navpbt-10 li a:active {
-moz-transform:scale(1.042);
-webkit-transform:scale(1.042);
-o-transform:scale(1.042);
transform:scale(1.042);
background:-webkit-gradient(linear,left top,right bottom,from(#3F3F3F),color-stop(0.330 #6A6C6F),color-stop(0.66 #6A6C6F),color-stop(0.83 #5F5F60),to(#454546));
background:-o-linear-gradient(top,#3F3F3F 0%,#6A6C6F 33%,#6A6C6F 66%,#5F5F60 83%,#454546 100%);
background:-webkit-linear-gradient(top,#3F3F3F 0%,#6A6C6F 33%,#6A6C6F 66%,#5F5F60 83%,#454546 100%);
background:-moz-linear-gradient(top,#3F3F3F 0%,#6A6C6F 33%,#6A6C6F 66%,#5F5F60 83%,#454546 100%);
background:-ms-linear-gradient(top,#3F3F3F 0%,#6A6C6F 33%,#6A6C6F 66%,#5F5F60 83%,#454546 100%);
background:linear-gradient(top,#3F3F3F 0%,#6A6C6F 33%,#6A6C6F 66%,#5F5F60 83%,#454546 100%);
-moz-transition:all 0.4s ease;
-webkit-transition:all 0.4s ease;
-o-transition:all 0.4s ease;
transition:all 0.4s ease;
}

HTML Code:

<ul id="navpbt-10">
<li><a href="#" title="Home">Home</a></li>
<li><a href="#">Windows</a></li>
<li><a href="#">Macintosh</a></li>
<li><a href="#">Linux</a></li>
<li><a href="#">iOS</a></li>
<li><a href="#">Android</a></li>
<li><a href="#">Symbian</a></li>
</ul>

These 10 vertical menu bars are some of widgets that can be used on any site. I didn't use JavaScript or Jquery and so 100% sure that the menu bars will be loading quickly with no HTTP requests.

These vertical navigation menus work in all major browsers with Chrome,Mozilla Firefox,Opera and IE 10. I didn't check older versions of browsers. However you can check the code on the old browsers and share your experience with us.

All of codes,images and content in this post are copyrighted. If you're willing to publish these vertical menu bars on your site (To share the codes or any other),kindly give a link back to us.

Drop your questions,suggestions and views below. Don't forget to share this long post on Facebook,Twitter,Google+ and StumbleUpon. That appreciation would motivate us to post more tutorials.

Colorful cloud Label style for your blog

Labels are categorized posts.Most of bloggers categorize each posts to different labels. Bloggers and users can find these posts easily by navigating within labels.Before this post,i have discuss with you some basics of Labels like adding labels and removing.Some of them are given below. You can check  them if you do not know any of them.

Basic Tutorials on Label :-

  1. How to add Labels to Blog posts
  2. How to add New Label for set of Posts
  3. How to Remove Labels from Blog Posts or Blog

You can customize your Label widget by adding some effects using CSS. Today I render my first cloud label widget for you. I think you will like this one. It has hovering effects and cloud display style.Hence it will not get more space from your sidebar.Unfortunately i can't give you a demo of this Cloud label style.But Below is the preview of this colorful cloud label style widget.
colorful-label-preview

Install cloud label display style on My Blog


1. Sign in to your Blogger account.
2. Go to Blogger Dashboard >> Layouts.
3. Now click on 'Add Gadget' link.
4. Now find 'Labels' and click on it.
5. Then a pop up window will open.

configure-labels

Now shift the display style as "Cloud" like above.

6. Now Save your "configure Labels" gadget.

See Also :- How to Add Feed link button Before Labels in Label Gadget

Add colorful cloud Label style on My Blog


Now you can add cloud label style on your blog.

1.Go to "Template" and backup blog template first.
2.Then Click on "Edit HTML" button.
3.Now find  ]]></b:skin> code on your Template editor.(Tip: you can use shortcut,Ctrl+F)
4.Now paste bellow CSS codes just above/before ]]></b:skin> code.


/*--------Cloud Label from www.bestlodge.blogspot.com ------------*/

#Label1 a{outline:none;
    border: 1px rgba(0,0,0,0.2) solid;
    padding: 4px 6px 4px 12px;
    text-decoration:none;
    color:black;
    white-space: nowrap;
font-family: arial;
    font-size: 10px;
    font-weight: bold;
    position: relative !important;
    background: #58E6F9;
    float:left;
    padding: 4px 3px;
    margin: 0 5px 5px 0;
   border-radius:8px 8px; -moz-border-radius:8px 8px 8px 8px; -khtml-border-radius:8px 8px 8px 8px; -webkit-border-radius:8px 8px 8px 8px; border-radius:8px 8px 8px 8px;
}
#Label1 a:hover {
background:#5BFDD5;
color:#5B5BFD;
}
#Label1 a:active {
background:#EC88C9;
}
/*-------End cloud Label style---------*/

5.Now get a preview of your blog.Then Save your Template.

That's all.If you have any question on this Label widget,feel free to ask me.Stay tuned with me for my next post series.You can get our future tutorials on Facebook fan page.Happy blogging. :D

Text boxes with background color and Image


If you are a blogger or webmaster,you may want to display codes like HTML,JavaScript,PHP and CSS etc codes on web pages.The easiest way is the display them on a Text area or text box.It minimizes the height of the webpage and reduce the page loading time.It is more beautiful than displaying codes normally in webpages.If you intend to add text boxes with background color or an image,this post will be helpful you.

Text area With background color

You can add background color to a Text box.When you're editing the blog post click on HTML button and paste below HTML codes where text box is appear.

HTML



HTML code


<textarea cols="40" name="code" readonly="readonly" rows="10" style="-moz-border-radius: 20px; background: #FAF8CC; border: 2px solid #ccc; color: green; line-height: 1em; padding: 20px;">Your Text or Hypertext Here</textarea>


Customization

*Replace 40 with number of columns of the text box.column is the width of the Text area box.
*If you  want to display editable text or Hypertext on the text area,Delete the  readonly="readonly" from above codes.
*Replace 10 with the number of rows of the Text box.Number of rows specify the height of textbox.
*Replace #FAF8CC with the Background color of Text box.You can add this in Hexadecimal numbers or names 
Ex:-#4596a7; , #ccc; , red, green ...
*Replace with the border width.It can type in px,em,pt.(Ex:-2pt,1em,3px)
*Replace #ccc with border color.You can use hexadecimal color number or name it as Background color.
*Replace green with the Text color.
*Replace 1em with to the height of a Text line.
*Replace 20px with the padding of the text in the text box.

You may replace your text or codes with Your Text or Hypertext Here.


Text area With background Image


You can add a background image behind the text in Text box.

HTML Code

<form>
<textarea cols="48" rows="7" readonly="readonly" style="background-image: url('file_name.jpg'); color: black; font-size: 12pt; font-weight: bold;">Your Text or Hypertext Here </textarea>
</form>

Replace file_name.jpg with URL of your Image.


I think that this tutorial was easy to you.If you have any question,just leave a comment in below or contact me.I like to help your questions as i can.Happy blogging pal :)

Membuat Tepi Gambar Bershadow Dengan CSS 3

CSS 3 adalah generasi CSS (Cascading Style Sheet) yang ke 3, banyak keunggulan CSS 3 dibandingkan generasi yang sebelumnya, dan sudah mulai digunakan browser-browser, yaitu diantaranya adalah Mozilla Firefox v 3.6 dan Safari V 3, semoga saja browser-browser lainya menyusul untuk mendukung CSS 3.

Nah sebenarnya topik kita kali ini adalah "Membuat image post blogger berbayang/shadow" dengan menggunakan CSS 3, terlihat seperti gambar di samping kiri. Nah bagaimana caranya? silahkan ikuti langkah-langkah dibawah ini dan buktikan kecanggihan CSS 3.

Setelah Log In ke blogger pada dashboard masuk pada bagian "Design" lalu ke "Edit HTML"

lalu cari code CSS dibawah ini

.post img {
- - -
- - -
}

Note :
  1. Perhatikan saja code yang berwarna merah diatas, karena garis ( - - - ) yang berwarna hijau adalah definisi CSS yang berbeda-beda setiap template
  2. Dan kadang code yang berwarna merah ada tambahanya sehingga seperti ini : .post img, table.tr-caption-container {
Nah kalau sudah ganti code CSS tadi dengan definisi seperti dibawah ini

.post img {
background:#FFFFFF;
border:1px solid $bordercolor;
padding: 7px;
-moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
-webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
-goog-ms-box-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
box-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
}

Nah yang diganti adalah code CSS yang berwarna hijau saja.

kalau sudah lalu SAVE deh, dan lihat hasilnya di browser Mozilla v 3.6, Safari V 3 dan Google Chrome.

Sekian semoga bermanfaat.
Dasar CSS

Dasar CSS

Taukah Anda apa itu CSS (Cascading Style Sheet) ?, CSS adalah bahasa scripting untuk memformat tampilan website secara keseluruhan. Misalnya Anda ingin mengatur jenis dan ukuran huruf, background, posisi element dan sebagainya. Sebagai contoh kita akan memformat tag p (parapraph) keseluruhan pada satu element dengan menggunakan cara HTML seperti ini <p font="tahoma">text</p>. Akan lebih efisien lagi jika kita memformat tag p dengan menggunakan CSS agar tidak terlalu rumit. Dan Anda juga bisa menyusun element layout dengan CSS tanpa harus menggunakan table yang menurut saya terlalu rumit dalam codingnya.
CSS juga bisa di akses oleh bahasa pemrograman, misalkan javascript, PHP dll.

Pengguna'an CSS ada 3 cara yaitu

  1. Langsung disisipkan didalam tag <head></head>. Untuk menyisipkan di dalam tag head harus diawali dengan tag <style type="text/css"></style>

  2. Menggunakan file external, artinya script css ditulis dalam file tersendiri dengan akhiran .css. dan sisipkan file ini di dalam tag <head> dengan cara seperti ini <head><link rel="stylesheet" href="css/style.css" type="text/css" /></head>

  3. Langsung pada tag yang bersangkutan, misalkan <div style="style_nya"></div>
Ada aturan dalam penulisan CSS ini, CSS ditulis dalam bentuk block-block script yang disebut style. Dan Saya akan mencoba menerangkan lebih detail lagi dalam cara menuliskan CSS.

  1. Menggunakan tanda # sebagai awalan style, contohnya

    #gaya{
    background-color:blue;
    }

    tanda ini berarti untuk menggunakan style ini harus menggunkana atribut id, dan setiap tag pasti memiliki atribut id, misal <div id="gaya">ini teks</div>. Sifat dari id adalah unik, tidak boleh ada elemen yang memiliki id yang sama, makanya style ini hanya bisa digunakan sekali.

  2. Menggunakan tanda dot (.) sebagai awalan style, contohnya

    .gaya{
    background-color:blue;
    }

    tanda ini berarti untuk menggunakan style ini harus menggunakan atribut class, setiap tag pasti memiliki atribut class. Misalkan <div class="gaya">ini teks</div>. Sifat dari class adalah tidak unik, artinya dalam 1 dokumen HTML boleh memiliki lebih dari 1 class yang sama. Dengan menggunakan tag

  3. Tanpa tanda, tetapi langsung mengarah pada tag HTML, misalkan

    div{
    background-color:blue;
    }

    artinya semua tag div akan dikenai style tersebut

  4. Turunan, baik # maupun dot (.) bisa menurunkan style. Style anak juga akan memiliki style dari induk.
    Contohnya

    #induk .anak{
    background-color:red;
    }
    cara menggunakannya
    <div id="induk">
    <div class="anak">bla_bla</div>
    </div>

    artinya class anak adalah turunan dari id induk. Jika id induk dihilangkan, maka class anak tidak akan bekerja.
Penggunaan tanda # atau dot(.) tergatung pada kasus yang dihadapi, dan sangat bervariasi. Awalnya binggung cara menggunakanya, kayaknya sama saja sih, tetapi jika anda sering menggunakannya, ada saat yang tepat apakah anda akan menggunakan tanda # atau dot(.) atau malah turunan.

Sedikit tentang dasar CSS dan semoga dapat membantu Anda yang pastinya CSS tidak bisa ditinggalkan dalam pengolahan halaman web dan browser juga sudah ada yang membuat script CSS yang hanya support dengan browser tersebut misalnya Mozilla Firefox, dll.

dirangkum dari berbagai sumber dan disederhanakan. salah satunya adalah http://bimoweb.com/dasar-css-scripting.html