TUTORIAL tentang cara membuat top menu navigasi statis, sticky, atau melayang di atas header blog sudah beberapa kali di-share di blog CB ini, seperti Cara Membuat Header Bar (Top Menu) Mirip Facebook dan Cara Membuat Navigasi Menu di Atas Header Blog.
Yang dimaksud menu statis, sticky, atau melayang (floating) adalah navigasi menu yang tetap muncul saat halaman discroll ke bawah.
Kali ini CB share tentang Cara Membuat Top Menu Statis Melayang di Atas Header Blog plus Media Sosial. Contohnya? Lihat Demo.
Sticky menu merupakan salah satu trending di dunia desain situs web/blog saat ini.
Cara Membuat Top Menu Statis Melayang di Atas Header Blog
1. Template > Edit HTML
2. Copy + Paste kode berikut ini di atas kode ]]></b:skin>
3. Copy + Paste kode berikut ini di bawah kode <body>
Jangan lupa ganti tanda pagar (#) dengan link dan nama-nama menu-nya, juga link media sosialnya!
4. Tambahkan kode padding-top:50px di dalam kode #header-wrapper. Contohnya begini:
Bisa juga dengan menambahkan kode margin-top:50px di kode "wrapper" atau "main-wrapper" atau "content-wrapper". Intinya, kode ini untuk memunculkan header biar gak ketutup top menu statis melayang yang baru saja kita buat.
Angka 50 bisa berkurang, bisa juga ditambah, tergantung "pas" tidaknya ukuran jarak header dengan top menu statis tadi!
Good Luck!
Sumber
http://www.mybloggerlab.com/2012/12/how-to-create-sticky-floating-navigation-menu.html
Read more ...
Yang dimaksud menu statis, sticky, atau melayang (floating) adalah navigasi menu yang tetap muncul saat halaman discroll ke bawah.
Kali ini CB share tentang Cara Membuat Top Menu Statis Melayang di Atas Header Blog plus Media Sosial. Contohnya? Lihat Demo.
Sticky menu merupakan salah satu trending di dunia desain situs web/blog saat ini.
Cara Membuat Top Menu Statis Melayang di Atas Header Blog
1. Template > Edit HTML
2. Copy + Paste kode berikut ini di atas kode ]]></b:skin>
/*--Sticky Navigation Menu Bar--*/
#MBL_wrapper .MBL_social_wrapper{margin-top: 15px;}
#MBL_wrapper
{
width: 100%;
margin: auto;
background: #fff;
height: 50px;
border-top: 5px solid #2c2f32;
border-bottom: 1px solid #EBEBEC;
-webkit-box-shadow: 0 1px 0 #D2D2D3, 0 1px 3px rgba(0, 0, 0, .2);
-moz-box-shadow: 0 1px 0 #d2d2d3, 0 1px 3px rgba(0,0,0,.2);
-o-box-shadow: 0 1px 0 #d2d2d3, 0 1px 3px rgba(0,0,0,.2);
box-shadow: 0 1px 0 #D2D2D3, 0 1px 3px rgba(0, 0, 0, .2);
position: fixed;
z-index: 999;
}
#MBL_wrapper .topmenu.notice
{
float: left;
width: 500px;
margin-top: 15px;
color: #fff;
}
#top_menu a
{
color: #fff;
}
#top_menu
{
display: block;
float: left;
list-style: none;
margin-top: 12px;
}
#top_menu li
{
display: inline-block;
margin-right: 15px;
font-family: 'Patua One', 'Helvetica Neue', Helvetica, Arial,Verdana,sans-serif;
font-size: 14px;
text-transform: uppercase;
}
#top_menu li ul
{
display: none;
}
#boxed_wrapper
{
width: 980px;
margin: auto;
}
.MBL_standard_wrapper
{
width: 960px;
margin: auto;
}
.MBL_standard_wrapper.wide
{
width: 980px;
}
.MBL_standard_wrapper.header
{
margin-bottom: 0px;
}
.MBL_social_wrapper
{
width: auto;
float: right;
}
#menuforall .MBL_social_wrapper
{
margin-top: 15px;
}
.MBL_social_wrapper ul
{
list-style: none;
}
.MBL_social_wrapper ul li
{
float: right;
margin-left: 5px;
}
.MBL_social_wrapper ul li img
{
width: 24px;
}
#MBL_menu_wrapper
{
width: 930px;
height: 50px;
padding: 0;
margin:auto;
}
.mainmenu.notice
{
float: left;
width: 600px;
padding: 17px 0 10px 12px;
z-index: 999;
}
#MBL_menu_wrapper .nav ul, #MBL_menu_wrapper .nav
{
list-style: none;
display: block;
float: left;
margin: 0 23px 0 5px;
width: 700px;
}
#MBL_menu_wrapper .nav ul li, #MBL_menu_wrapper .nav li
{
display: block;
float :left;
margin: 0;
}
#MBL_menu_wrapper .nav ul li ul, #MBL_menu_wrapper div .nav li ul, .main_nav li ul
{
display: none;
list-style: none;
background: #000;
position:absolute;
padding: 0;
margin-top: 51px;
width: 200px;
height: auto;
z-index: 1000;
padding-top: 5px;
border-bottom: 5px solid #000;
border-left: 0;
}
#MBL_menu_wrapper .nav ul li ul li ul, #MBL_menu_wrapper div .nav li ul, .main_nav li ul li ul
{
margin-left: 200px;
margin-top: 5px;
}
#MBL_menu_wrapper .nav li ul li a, .nav li ul li a, #MBL_menu_wrapper .nav ul li.current_page_parent ul.sub-menu li.current_page_item a, .nav li.current-menu-parent ul.sub-menu li.current_page_item a
{
background: none;
}
.main_nav li ul li
{
width: 100%;
}
#MBL_menu_wrapper .nav li ul li a, #MBL_menu_wrapper .nav li.current-menu-item ul li a, #MBL_menu_wrapper .nav li ul li.current-menu-item a,#MBL_menu_wrapper .nav ul li ul li a, #MBL_menu_wrapper .nav ul li.current-menu-item ul li a, #MBL_menu_wrapper .nav ul li ul li.current-menu-item a
{
color: #fff;
display: block;
width: 188px;
font-weight: bold;
line-height: 1em;
padding: 10px 0 10px 12px;
background: none;
}
.main_nav ul, .main_nav
{
list-style: none;
margin: auto;
width: 600px;
height: 50px;
z-index: 999;
float: left;
border-left: 1px solid #EBEBEC;
}
.main_nav ul li, .main_nav li
{
display: block;
float :left;
margin: 0;
}
.main_nav ul li a, .main_nav li a
{
display: block;
float :left;
margin: 0 0 0 0;
padding: 18px 15px 14px 15px;
color: #2c2f32;
font-family: 'Patua One';
text-transform: uppercase;
font-size: 13px;
font-weight: 500;
border-right: 1px solid #EBEBEC;
}
.main_nav ul li ul li a, .main_nav li ul li a
{
width: 165px;
padding: 7px 19px 7px 16px;
border: 0;
font-size: 12px;
font-weight: normal;
color: #ccc;
font-family: 'Helvetica Neue', Helvetica, Arial,Verdana,sans-serif;
}
.main_nav ul li ul li:last-child a, .main_nav li ul li:last-child a
{
border-bottom: 0;
}
.main_nav ul li a:hover, .main_nav li a:hover, .main_nav ul li a.hover, .main_nav li a.hover, .main_nav ul li a:active, .main_nav li a:active, .main_nav li.current-menu-item a
{
color: #fff;
background: #1bc4de;
}
.main_nav li:last-child a:hover, .main_nav li:last-child a.hover
{
border-right: 0;
}
.main_nav li ul li a, .main_nav li.current-menu-item ul li a,#MBL_menu_wrapper .nav ul li ul li a, #MBL_menu_wrapper .nav ul li.current-menu-item ul li a, #MBL_menu_wrapper .nav ul li ul li.current-menu-item a,
{
display: block;
width: 170px;
line-height: 0.7em;
padding: 5px 0 5px 30px;
}
.main_nav li ul li a:hover, .main_nav li.current-menu-item ul li a:hover, .main_nav li ul li a.hover, .main_nav li.current-menu-item ul li a.hover, #MBL_menu_wrapper .nav ul li.current-menu-item ul li a:hover, #MBL_menu_wrapper .nav ul li ul li.current-menu-item a:hover, .main_nav li ul li:last-child a:hover, .main_nav li ul li:last-child a.hover
}
div
{
margin:0;
padding:0;
border:0;
font-weight:inherit;
font-style:inherit;
font-size:100%;
font-family:inherit;
vertical-align:baseline;
}
a
{
color: #2C2F32;
text-decoration: none;
-webkit-transition: color .2s linear, background .1s linear;
-moz-transition: color .2s linear, background .1s linear;
-ms-transition: color .2s linear, background .1s linear;
-o-transition: color .2s linear, background .1s linear;
transition: color .2s linear, background .1s linear;
}
/* Font Face ----------------------------------------------- */
@font-face {
font-family: 'Patua One';
font-style: normal;
font-weight: 400;
src: local('Patua One'), local('PatuaOne-Regular'), url(http://themes.googleusercontent.com/static/fonts/patuaone/v3/yAXhog6uK3bd3OwBILv_SLO3LdcAZYWl9Si6vvxL-qU.woff) format('woff');
}
ul{
margin: 0;
padding: 0;
list-style: none;
}
#MBL_wrapper .MBL_social_wrapper{margin-top: 15px;}
#MBL_wrapper
{
width: 100%;
margin: auto;
background: #fff;
height: 50px;
border-top: 5px solid #2c2f32;
border-bottom: 1px solid #EBEBEC;
-webkit-box-shadow: 0 1px 0 #D2D2D3, 0 1px 3px rgba(0, 0, 0, .2);
-moz-box-shadow: 0 1px 0 #d2d2d3, 0 1px 3px rgba(0,0,0,.2);
-o-box-shadow: 0 1px 0 #d2d2d3, 0 1px 3px rgba(0,0,0,.2);
box-shadow: 0 1px 0 #D2D2D3, 0 1px 3px rgba(0, 0, 0, .2);
position: fixed;
z-index: 999;
}
#MBL_wrapper .topmenu.notice
{
float: left;
width: 500px;
margin-top: 15px;
color: #fff;
}
#top_menu a
{
color: #fff;
}
#top_menu
{
display: block;
float: left;
list-style: none;
margin-top: 12px;
}
#top_menu li
{
display: inline-block;
margin-right: 15px;
font-family: 'Patua One', 'Helvetica Neue', Helvetica, Arial,Verdana,sans-serif;
font-size: 14px;
text-transform: uppercase;
}
#top_menu li ul
{
display: none;
}
#boxed_wrapper
{
width: 980px;
margin: auto;
}
.MBL_standard_wrapper
{
width: 960px;
margin: auto;
}
.MBL_standard_wrapper.wide
{
width: 980px;
}
.MBL_standard_wrapper.header
{
margin-bottom: 0px;
}
.MBL_social_wrapper
{
width: auto;
float: right;
}
#menuforall .MBL_social_wrapper
{
margin-top: 15px;
}
.MBL_social_wrapper ul
{
list-style: none;
}
.MBL_social_wrapper ul li
{
float: right;
margin-left: 5px;
}
.MBL_social_wrapper ul li img
{
width: 24px;
}
#MBL_menu_wrapper
{
width: 930px;
height: 50px;
padding: 0;
margin:auto;
}
.mainmenu.notice
{
float: left;
width: 600px;
padding: 17px 0 10px 12px;
z-index: 999;
}
#MBL_menu_wrapper .nav ul, #MBL_menu_wrapper .nav
{
list-style: none;
display: block;
float: left;
margin: 0 23px 0 5px;
width: 700px;
}
#MBL_menu_wrapper .nav ul li, #MBL_menu_wrapper .nav li
{
display: block;
float :left;
margin: 0;
}
#MBL_menu_wrapper .nav ul li ul, #MBL_menu_wrapper div .nav li ul, .main_nav li ul
{
display: none;
list-style: none;
background: #000;
position:absolute;
padding: 0;
margin-top: 51px;
width: 200px;
height: auto;
z-index: 1000;
padding-top: 5px;
border-bottom: 5px solid #000;
border-left: 0;
}
#MBL_menu_wrapper .nav ul li ul li ul, #MBL_menu_wrapper div .nav li ul, .main_nav li ul li ul
{
margin-left: 200px;
margin-top: 5px;
}
#MBL_menu_wrapper .nav li ul li a, .nav li ul li a, #MBL_menu_wrapper .nav ul li.current_page_parent ul.sub-menu li.current_page_item a, .nav li.current-menu-parent ul.sub-menu li.current_page_item a
{
background: none;
}
.main_nav li ul li
{
width: 100%;
}
#MBL_menu_wrapper .nav li ul li a, #MBL_menu_wrapper .nav li.current-menu-item ul li a, #MBL_menu_wrapper .nav li ul li.current-menu-item a,#MBL_menu_wrapper .nav ul li ul li a, #MBL_menu_wrapper .nav ul li.current-menu-item ul li a, #MBL_menu_wrapper .nav ul li ul li.current-menu-item a
{
color: #fff;
display: block;
width: 188px;
font-weight: bold;
line-height: 1em;
padding: 10px 0 10px 12px;
background: none;
}
.main_nav ul, .main_nav
{
list-style: none;
margin: auto;
width: 600px;
height: 50px;
z-index: 999;
float: left;
border-left: 1px solid #EBEBEC;
}
.main_nav ul li, .main_nav li
{
display: block;
float :left;
margin: 0;
}
.main_nav ul li a, .main_nav li a
{
display: block;
float :left;
margin: 0 0 0 0;
padding: 18px 15px 14px 15px;
color: #2c2f32;
font-family: 'Patua One';
text-transform: uppercase;
font-size: 13px;
font-weight: 500;
border-right: 1px solid #EBEBEC;
}
.main_nav ul li ul li a, .main_nav li ul li a
{
width: 165px;
padding: 7px 19px 7px 16px;
border: 0;
font-size: 12px;
font-weight: normal;
color: #ccc;
font-family: 'Helvetica Neue', Helvetica, Arial,Verdana,sans-serif;
}
.main_nav ul li ul li:last-child a, .main_nav li ul li:last-child a
{
border-bottom: 0;
}
.main_nav ul li a:hover, .main_nav li a:hover, .main_nav ul li a.hover, .main_nav li a.hover, .main_nav ul li a:active, .main_nav li a:active, .main_nav li.current-menu-item a
{
color: #fff;
background: #1bc4de;
}
.main_nav li:last-child a:hover, .main_nav li:last-child a.hover
{
border-right: 0;
}
.main_nav li ul li a, .main_nav li.current-menu-item ul li a,#MBL_menu_wrapper .nav ul li ul li a, #MBL_menu_wrapper .nav ul li.current-menu-item ul li a, #MBL_menu_wrapper .nav ul li ul li.current-menu-item a,
{
display: block;
width: 170px;
line-height: 0.7em;
padding: 5px 0 5px 30px;
}
.main_nav li ul li a:hover, .main_nav li.current-menu-item ul li a:hover, .main_nav li ul li a.hover, .main_nav li.current-menu-item ul li a.hover, #MBL_menu_wrapper .nav ul li.current-menu-item ul li a:hover, #MBL_menu_wrapper .nav ul li ul li.current-menu-item a:hover, .main_nav li ul li:last-child a:hover, .main_nav li ul li:last-child a.hover
}
div
{
margin:0;
padding:0;
border:0;
font-weight:inherit;
font-style:inherit;
font-size:100%;
font-family:inherit;
vertical-align:baseline;
}
a
{
color: #2C2F32;
text-decoration: none;
-webkit-transition: color .2s linear, background .1s linear;
-moz-transition: color .2s linear, background .1s linear;
-ms-transition: color .2s linear, background .1s linear;
-o-transition: color .2s linear, background .1s linear;
transition: color .2s linear, background .1s linear;
}
/* Font Face ----------------------------------------------- */
@font-face {
font-family: 'Patua One';
font-style: normal;
font-weight: 400;
src: local('Patua One'), local('PatuaOne-Regular'), url(http://themes.googleusercontent.com/static/fonts/patuaone/v3/yAXhog6uK3bd3OwBILv_SLO3LdcAZYWl9Si6vvxL-qU.woff) format('woff');
}
ul{
margin: 0;
padding: 0;
list-style: none;
}
3. Copy + Paste kode berikut ini di bawah kode <body>
Jangan lupa ganti tanda pagar (#) dengan link dan nama-nama menu-nya, juga link media sosialnya!
<!-- Begin Navigation -->
<div id='MBL_wrapper'>
<div class='MBL_standard_wrapper'>
<div class='menu-main-menu-container'><ul class='main_nav' id='main_menu'><li class='menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-533' id='menu-item-533'>
<a href='#'>Home</a></li>
<li><a href='#'>Blog</a></li>
<li><a href='#'>About Us</a></li>
<li><a href='#'>Advertise Here</a></li>
<li><a href='#'>Contact Us</a></li>
<li><a href='htto://cbbloggerlab.blogspot.com'>CBBloggerLab</a></li>
</ul></div>
<div id='menu_border_wrapper'></div>
<div class='MBL_social_wrapper'>
<ul>
<li><a href='#' target='_blank'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKukg2hgVrzkVIo1lZ2WJLeuSW4GKfLKmh4D6npSUnaf_YlXu3nXWnQEQnJx5Q5_sYKHD3LKuIU6CANAgR5WY4Xc22OyjVlH8uUttKVqtcXuopiV036lk9yz1lvKdl87U54RqNaSGiOA2m/s1600/facebook.png'/></a></li>
<li><a href='#' target='_blank'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT0g-FzobmOoh4m1ZNMwehEqnI_s0eNFw-Q2k3LzfmUuQIloQ52WEkBwNAd7vNxmpoSJSMrTZeS8UYp-Nd5LYyP81stBoCtS9pQL3cnikjRdHZfRcdIlwc6hA7dfg1PJoBTN0lkenwz1T3/s1600/twitter.png'/></a></li>
<li><a href='#' target='_blank' title='Google+'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXHsOoAPE0Z_0ignilaYvxibD_sjozlmVT46CRQIvWNMvS1BSU4B48WREkymq_IOtYoukomp5FgYrLP9T4ErjerMwEjyfaCZvzVo0m2lpQQljb_YI-kTI8afvI8F6_hvd9HGTD1bJTkFq5/s1600/google.png'/></a></li>
<li><a href='#' target='_blank' title='Linkedin'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihp38Cqd11bYEXy80bQDX8uzXw20CygMu4s821LBpzAlMhRfE73OqdbsAvqpRH-tSAgxvFCT2HQVoBVUlKk0YA_lf-dJB6b2o1svBGrWVICLjKSZpbpBYOlOFTS141nnQVZOb5vs_J8gNm/s1600/linkedin.png'/></a></li>
<li><a href='#' target='_blank' title='Pinterest'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOldLl8fQFuGNxj6du5jFE9UJ92_fKRN7ZPG-onza62-tTfjIPdJwyeZskb4pa2Cte8i8PGBBdA6KFc9iLSyMAFiTonmskQRp24wvB6Mtz4j_dOPSnu5jDG15b6fHg_3FH80lrG6JJVTc-/s1600/pinterest.png'/></a></li>
<li><a href='#' target='_blank'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWIfOgb4goGW5_fs7bK-JLyrsS7SKci_eIaQvzLqbm3XUGeR0git9W0Bjxto5580TQktoMUJoOhdeQnhmVAYGwIihHLKi40oTZ7BDGcv6Qn-W14q0iy3juagx-xdeEeQrgUVpbUnmy6Zr9/s1600/rss.png'/></a></li>
</ul>
</div>
</div>
</div>
<!-- End Navigation -->
<div id='MBL_wrapper'>
<div class='MBL_standard_wrapper'>
<div class='menu-main-menu-container'><ul class='main_nav' id='main_menu'><li class='menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-533' id='menu-item-533'>
<a href='#'>Home</a></li>
<li><a href='#'>Blog</a></li>
<li><a href='#'>About Us</a></li>
<li><a href='#'>Advertise Here</a></li>
<li><a href='#'>Contact Us</a></li>
<li><a href='htto://cbbloggerlab.blogspot.com'>CBBloggerLab</a></li>
</ul></div>
<div id='menu_border_wrapper'></div>
<div class='MBL_social_wrapper'>
<ul>
<li><a href='#' target='_blank'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKukg2hgVrzkVIo1lZ2WJLeuSW4GKfLKmh4D6npSUnaf_YlXu3nXWnQEQnJx5Q5_sYKHD3LKuIU6CANAgR5WY4Xc22OyjVlH8uUttKVqtcXuopiV036lk9yz1lvKdl87U54RqNaSGiOA2m/s1600/facebook.png'/></a></li>
<li><a href='#' target='_blank'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT0g-FzobmOoh4m1ZNMwehEqnI_s0eNFw-Q2k3LzfmUuQIloQ52WEkBwNAd7vNxmpoSJSMrTZeS8UYp-Nd5LYyP81stBoCtS9pQL3cnikjRdHZfRcdIlwc6hA7dfg1PJoBTN0lkenwz1T3/s1600/twitter.png'/></a></li>
<li><a href='#' target='_blank' title='Google+'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXHsOoAPE0Z_0ignilaYvxibD_sjozlmVT46CRQIvWNMvS1BSU4B48WREkymq_IOtYoukomp5FgYrLP9T4ErjerMwEjyfaCZvzVo0m2lpQQljb_YI-kTI8afvI8F6_hvd9HGTD1bJTkFq5/s1600/google.png'/></a></li>
<li><a href='#' target='_blank' title='Linkedin'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihp38Cqd11bYEXy80bQDX8uzXw20CygMu4s821LBpzAlMhRfE73OqdbsAvqpRH-tSAgxvFCT2HQVoBVUlKk0YA_lf-dJB6b2o1svBGrWVICLjKSZpbpBYOlOFTS141nnQVZOb5vs_J8gNm/s1600/linkedin.png'/></a></li>
<li><a href='#' target='_blank' title='Pinterest'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOldLl8fQFuGNxj6du5jFE9UJ92_fKRN7ZPG-onza62-tTfjIPdJwyeZskb4pa2Cte8i8PGBBdA6KFc9iLSyMAFiTonmskQRp24wvB6Mtz4j_dOPSnu5jDG15b6fHg_3FH80lrG6JJVTc-/s1600/pinterest.png'/></a></li>
<li><a href='#' target='_blank'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWIfOgb4goGW5_fs7bK-JLyrsS7SKci_eIaQvzLqbm3XUGeR0git9W0Bjxto5580TQktoMUJoOhdeQnhmVAYGwIihHLKi40oTZ7BDGcv6Qn-W14q0iy3juagx-xdeEeQrgUVpbUnmy6Zr9/s1600/rss.png'/></a></li>
</ul>
</div>
</div>
</div>
<!-- End Navigation -->
4. Tambahkan kode padding-top:50px di dalam kode #header-wrapper. Contohnya begini:
#header-wrapper {
overflow: hidden;
padding-top:50px;
}
padding-top:50px;
}
Bisa juga dengan menambahkan kode margin-top:50px di kode "wrapper" atau "main-wrapper" atau "content-wrapper". Intinya, kode ini untuk memunculkan header biar gak ketutup top menu statis melayang yang baru saja kita buat.
Angka 50 bisa berkurang, bisa juga ditambah, tergantung "pas" tidaknya ukuran jarak header dengan top menu statis tadi!
Good Luck!
Sumber
http://www.mybloggerlab.com/2012/12/how-to-create-sticky-floating-navigation-menu.html