How to Add Neat CSS3 Dropdown Menu in Blogger
Here's another simple yet awesome pure CSS3 dropdown menu created by Andrew from script-tutorials.com with some modifications to fit seamlessly into our Blogger template.
In the top right corner of this menu, we have contact links and social media icons for Facebook, Twitter, Google Plus and RSS feeds. Below these links is a navigation drop-down menu, and on the left is a search form.
To provide a better user experience and interaction, the CSS dropdown menu contains subcategories that appear with a nice CSS3 box-shadow, text -shadow, and a nice transition after activating the parent link with the hover selector .
Step 2. Then click anywhere in the code area and press CTRL + F to open the search box. Enter the tag below in the search field and press Enter to search for it.
Step 3. Just below add the html structure of the dropdown menu:
I hope you enjoyed this CSS3 dropdown menu for Blogger, and if you enjoyed the tutorial, please share and subscribe .
In the top right corner of this menu, we have contact links and social media icons for Facebook, Twitter, Google Plus and RSS feeds. Below these links is a navigation drop-down menu, and on the left is a search form.
To provide a better user experience and interaction, the CSS dropdown menu contains subcategories that appear with a nice CSS3 box-shadow, text -shadow, and a nice transition after activating the parent link with the hover selector .
Add CSS Navigation Dropdown in Blogger
Step 1: Go to the Blogger Dashboard, select Template, and click the Edit HTML button.Step 2. Then click anywhere in the code area and press CTRL + F to open the search box. Enter the tag below in the search field and press Enter to search for it.
Step 3. Just below add the html structure of the dropdown menu:
How to set up a dropdown list
- Replace the # characters with the URLs of your links and replace the blue texts with the titles you want to display in the menu.
- To change your social media icons, add links to your icons instead of the blue ones . For more help, check out this guide on how to download and get an image URL .
- If you want to remove subcategories, remove the code inside the yellow highlighted tags, including ul tags. To delete only one menu item, delete the part it starts with.
- and ends
]]>Step 5. Slightly higher ]]> add this CSS code:
#contact-link{text-shadow:0 -1px 0 rgba(0,0,0,0.3);margin:auto;position:relative;width:100%}#contact-links a{color:#4C9FEB}#contact -link a:float{color:#3D85C6}#my-link{float:right;font-size:12px;margin:4px 10px;overflow:hidden;text-shadow:0 1px 0 #FFF}#my-link a {margin-left:7px;padding-left:8px;text-decoration:none}#my-links a:firstchild{border-width:0}#menu-holder{background:-webkit-linear-gradient(# f6f6f6, #e9eaea) motion repeat 0 0 transparent; background:-moz-linear-gradient(#f6f6f6,#e9eaea) repeat rotation 0 0 transparent; background: linear gradient (#f6f6f6,#e9eaea) motion repeat 0 0 transparent; filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#e9eaea', GradientType=0); border-radius: 0 0 4px 4px; border: 1px solid rgba(0,0,0, 0,1);box-shadow:-1px 1px 0 rgba(255,255,255,0,8) inset;clear:both;height:46px;padding-top:1px }# neat-menu{floating:left}#tidy-menu a{text-decoration: none} # sorted menu ul {list-style: none; difference: 0; padding: 0} menu # ordered > lower > left {float:left; padding-bottom: 12px} # ordered menu ul li a {box -shadow:-1px 0 0 rgba(255,255,255,0,8) inset,1px 0 0 rgba(255,255,255,0,8) color inset:#border; D1D1D1; border-image: no; border style: solid; border width: 0 1px 0 0; color: #333; screen: block; font-size: 14px; height: 25px; line-height: 25px; padding: 11px 15px 10px;text-shadow:0 1px 0 #FFF}#clean menu ul li a:hover{background:-webkit-linear-gradient(#efefef,#e9eaea) move Repeat 0 0 Transparent;background:-moz - linear -gradient(#efefef,#e9eaea) repeat scroll 0 0 transparent;background:gradient linear(#efefef,#e9eaea) repeat scroll 0 0 transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#efefef' ,endColorstr ='#e9eaea',GradientType=0) }#neat-menu > ul > li.active > a{ background:-webkit-linear-gradient(#55A6F1,#3F96E5) motion repeat 0 0 transparent;background:- moz- linear gradient (#55A6F1, #3F96E5) repeat rotation 0 0 transparent background: linear gradient (#55A6F1, #3F96E5) repeat rotation 0 0 transparent; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#55A6F1',endColorstr='#3F96E5',GradientType=0); bottom border: solid 1px #2D81CC; top border: solid 1px #4791D6; box-shadow :-1px 0 0 #55A6F1 inset,1px 0 0 #55A6F1 inset;color:#FFF;margin:-1px 0 -1px -1px;text-shadow:0-1px 0 rgba(0,0,0, 0.3) } #neat-menu > ul > li.active > a:hover{ background:-webkit-linear-gradient(#499FEE,#3F96E5) repeat with rotation 0 0 transparent; background:-moz-linear-gradient(#499FEE,#3F96E5) motion repeat 0 0 transparent ;background:linear-gradient(#499FEE,#3F96E5) motion repeat 0 0 transparent ='#499FEE',endColorstr='#3F96E5 ' ,GradientType=0)}#ne -menu > ul > li:first-child > a{border-radius:0 0 0 5px}#neat-menu ul ul{background:-webkit-linear-gradient(#F7F7F7, # F4F4F4) redo scroll 0 0 padding-box transparent; background:-moz-linear-gradient(#F7F7F7,#F4F4F4) repeat scroll 0 0 padding-box transparent; background: linear gradient (#F7F7F7, #F4F4F4) rotation repeat 0 0 block fill transparent nt; filter: progid: DXImageTransform.Microsoft.gradient(startColorstr = '#F7F7F7', endColorstr = '#F4F4F4', GradientType = 0); border-radius: 5px 5px 5px 5px; border: 1.0, rgba0 solid; box shadow :0 1px 0 #FFF inset;height:0;top margin:1px;opacity:0;overflow:hidden;width:240px;padding:0;position:absolute;visibility:hidden; z-index:1;-webkit-transition:all .5s;-moz-transition:all .5s;-ms-transition:all .5s;-o-transition:all .5s;transition:all .5s}#eat -menu ul li: hover ul {margin-top: 0\2; height: auto; darkness: 1; visibility: visibility} # Normal menu ul a {border-right-width: 0; top border: 1px solid #D1D1D1; box-shadow: 0 1px 0 #FFF inset; color: #444; height: 24px; line-height: 24px; padding: 7px 12px; text-shadow: 0 1px 0 #FFF} menu #ordered ul ul a :hover{background:-webkit-linear-gradient(#55A6F1,#3F96E5) hover again, 0 0 transparent; background:-moz-linear-gradient(#55A6F1,#3F96E5) move again, 0 0 transparent; background: linear-gradient(#55A6F1,#3F96E5) move again 0 0 transparent;filter:progid:DXImageTransform.Micro soft.gradient(startColorstr='#55A6F1',endColorstr='#3F96E5',Gradientborder-=0); top:1px solid #4791D6;box-shadow:-1px 0 0 #55A6F1 inset,1px 0 0 #55A ;color:#FFF;text-shadow:0 -1px 0 rgba(0,0,0,0.3)}# clear menu ul ul li: first-type a {border-top-width: 0} # menu-search { margin: 8px 10px 0 0; float: right} # menu-search-form {background: URL (https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjFYrf-fvS81VlvPTrbIt2KSQlonmdcuRTMUJ7eqiaKE8o-0jLXDKSuh6u_CXxKug9mDY78p8AWWLVqkLJizX9NpCIOOFwGyy5-ZlSmKtvuVUlNhFKYrJNoujvGE1Bxqj-5lFcpreNqRif/s1600/menu-search.gif) no repeated movements 5% transparency 50%; border: 1px solid #CCC; border-radius: 3px 3px 3px 3px ;box-shadow:0 1px 0 rgba(0,0,0,0,05) input,0 1px 0 #FFF;height:26px;padding:0 25px;position:relative;width: 13px }#menu-search-form: hover {background-color:#F9F9F9}#menu-search-form-input{color:#999;font-size:13px;height:26px;text-shadow:0 1px 0 # fff ;background:no repeat 0 0 transparent;border:no middle;floating:left;outline:mid none;padding:0;width:10 0% }#menu-search-form-input.placeholder, #menu -search -form-input:-moz-placeholder {color: #C4C4C4}Step 6: Click the "Save Template" button to save your changes and you're done!
I hope you enjoyed this CSS3 dropdown menu for Blogger, and if you enjoyed the tutorial, please share and subscribe .
Post a Comment for "How to Add Neat CSS3 Dropdown Menu in Blogger"