Cara Menciptakan Fixed Sajian Di Blogspot
Wednesday, October 29, 2014
Add Comment
Cara Membuat Fixed Menu Di Blogspot - Fixed hidangan yaitu Floating Menu (Menu Melayang) atau sering juga disebut dengan "Fixed Menu" yang pada dasarnya yaitu hidangan yang selalu berada di atas, walaupun blog di scroll hingga bawah. Tutorial ini yaitu salah satu bagaimana cara menciptakan fixed hidangan di blogspot. Pada post sebelumnya aku juga pernah share cara menciptakan fixed menu, jikalau sahabat belum membaca nya silahkan lihat disini : Lihat Fixed Menu
Untuk hidangan fixed kali ini, kira-kira penampilanya menyerupai screenshot ini sob :
Cara Membuat nya :
1. Buka Blogger, Klik Template, Edit HTML
2. Setalah muncul, Tekan tombol Ctrl + F dan cari arahan ]]></b:skin> . Lalu letakan CSS berikut sempurna Sebelum/Diatas Kode ]]></b:skin>
/*--YanuarMega Sticky Navigation 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; }
3. Setelah Itu cari arahan <body> dan letakan arahan di bawah ini Setelah/Dibawah arahan <body>
<!-- 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://www.mybloggerlab.com'>MyBloggerLab</a></li> </ul></div> <div id='menu_border_wrapper'></div> <div class='MBL_social_wrapper'> <ul> <li><a href='#' target='_blank'><img alt='' src='http:https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxKqmSxnItyzBlFIeUKWWVpbGzRs2Gc_EuDMw7xE70GZHMzB0ptfRE6u7MG2gJ-fxP4TyrrmYTNAoZ1tT9n41eiAC2Bsmwxj-ijq9wvVH03g7sfzwH9Rw3CTfSs3SLRRmtb2KAYZ4-seG-/s1600/facebook.png'/></a></li> <li><a href='#' target='_blank'><img alt='' src='http:https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg1GtoElAvvH8PRU70JdTKcGBwQlOHyOqyGugjZ-3kir9_1-MasrIxxHkPiF-MjTkAM9uzmsqrzWfLos0qzNPyD_N68HiLLp37hnexv1R701c4IeEEWpDDDnSPeps3LrcjjqYzeDxUzJAA/s1600/twitter.png'/></a></li> <li><a href='#' target='_blank' title='Flickr'><img alt='' src='http:https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhilVKhFR0uhcODXAgqRQLDxGXxrzvoA-DE5UhIJWmVYt2DBSpz_Ci7n8C25BzGzel9RRL7mMYZlNHcDfXKcVdkRrFw9EdwxeKdCMQQWifKsAK8p5GJrY4N4Ss8NBdOPTqSQx-4kQh-np4q/s1600/flickr.png'/></a></li> <li><a href='#' target='_blank' title='Vimeo'><img alt='' src='http:https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR2FnmEjMinw40DMsTjbPE6ifxXT7aA_HTAcBPfuvtrRhe6IbmjmsQSw2iio-H8PdHYb8ZhvFeiOMfO_uniheTgiM0aB8d0mvDUZS1jRtRYLZE6mHj64lWT_Y55QVHxJ6xva9_3wckmGfF/s1600/vimeo.png'/></a></li> <li><a href='#' target='_blank' title='Tumblr'><img alt='' src='http:https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbLvfqRhODbl4rszpWD5xyuhlRQpB6ARJGiJaJBoKn2LvkstigFn2xvT45PCQ5VxX92K-Z4A16Kp0XeQSFU0OIhfvBeAT004UxpSJvQ02ZgatDQzewEeECWdpfoNE6d1-D1eK_9OwCE_EG/s1600/tumblr.png'/></a></li> <li><a href='#' target='_blank' title='Google+'><img alt='' src='http:https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4FcNjWSDupQh1FYZUPAaSx5N0iCc7FEoOjScykp3zU09HKAlFNKfywQlnX-8eZMRUGAhcZPG1lVVLU4GNK3nWbEzXixIYUPDAOeZyJbt2AtbB5VC7PVsf89lODsvhaC0rj5WzOW7XzFum/s1600/google.png'/></a></li> <li><a href='#' target='_blank' title='Dribbble'><img alt='' src='http:https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrY8yCLAmk2KgnNaymTV8ai9M7V0VP4nN9ed8zFeWOFsliqGkPS8HzETXXfUCdIS7dB_n6dYnah8oSoOB-PzIilcHjgozMs95_6LS2mncIbvsMRKH1jqp_Arirx52qQ0xA1Di7HOWp51R0/s1600/dribbble.png'/></a></li> <li><a href='#' target='_blank' title='Digg'><img alt='' src='http:https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijIUeqmHUAMlwBmCYxi6JMHs13pVXkqdNRIgujO-GAg2Om3eFuSLd8sc7EQ1VhOqE7bonhsQLV4a0KdIQ237kHrVKXmmNIRpeoeydm_SrBD1WZM7NOUTRIOCkTkC_gJDp-bCHGnMuFKEv8/s1600/digg.png'/></a></li> <li><a href='#' target='_blank' title='Linkedin'><img alt='' src='http:https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHrZ9xQWVvRANg5JDN5Z1mYzkMqEZwCUwL2WPJboDD_qpI1BhNGWHgQ0-zG7dmv_qOy9P_47XMDRQTtV-_rWigqzAd6XLE1CrWOJXfTN1mZu-gOsE2juZdq1Aa1qM5kY2MH6WIXHasJusg/s1600/linkedin.png'/></a></li> <li><a href='#' target='_blank' title='Pinterest'><img alt='' src='http:https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCWdOpr3jWXR7n-uBKTDNbkFaGXBqw9hQAMqjx1YHTQjFfdcO7WUMFRn9MU1dv5_LPU0kiaYjTLAx0I-cABlDCpr3y5fqqJn_zugVANWq_WFSXVTzFdxvqfyJYKB8JXKyeWZRZHE7xbmSC/s1600/pinterest.png'/></a></li> <li><a href='#' target='_blank'><img alt='' src='http:https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTKf5qaHPRRL1Z-r04WtCGbUW3upNYAFIRnTdN9YqRBYnOmvX-pSPc5kijvKkY5faane6WD-FNx0kNMUIWT5ufU_CbwT55O3dkjcr1ZFQMUvaoHc7DpOUm_Q5XkT5E8OWCOLcAGBrSpHss/s1600/rss.png'/></a></li> </ul> </div> </div> </div> <!-- End Navigation -->
Okey, kalau sudah tinggal di save dan lihat hasilnya.
Cukup sekian, terima kasih telah membaca artikel Cara Membuat Fixed Menu Di Blogspot.
Semoga Bermanfaat.
Source code : www.mybloggerlab.com
0 Response to "Cara Menciptakan Fixed Sajian Di Blogspot"
Post a Comment
Blog ini merupakan Blog Dofollow, karena beberapa alasan tertentu, sobat bisa mencari backlink di blog ini dengan syarat :
1. Tidak mengandung SARA
2. Komentar SPAM dan JUNK akan dihapus
3. Tidak diperbolehkan menyertakan link aktif
4. Berkomentar dengan format (Name/URL)
NB: Jika ingin menuliskan kode pada komentar harap gunakan Tool untuk mengkonversi kode tersebut agar kode bisa muncul dan jelas atau gunakan tool dibawah "Konversi Kode di Sini!".
Klik subscribe by email agar Anda segera tahu balasan komentar Anda