Tagged: x
-
AuthorPosts
-
February 16, 2017 at 7:31 am #1373511
kaizanParticipantHi there,
I have added custom CSS to display the hamburger menu on desktop. I almost have it how I want it but I need your help with one more thing. I want the hamburger menu to appear after scrolling past the slider (on the homepage only).
Can you help?
Here is the CSS I am currently using:
.x-navbar { text-align: right; } .x-navbar .desktop { display: none !important; } .x-navbar .x-btn-navbar { display: inline-block; box-shadow: none; color: white !important; background-color: rgba(0,0,0,0) !important; } .x-nav-wrap.mobile.collapse.in { display: block; } .x-navbar .mobile .x-nav { background-color: rgb(107,188,255); /* Change to your preferred background color for mobile menu*/ }Thanks
February 16, 2017 at 7:33 am #1373512
kaizanParticipantThis reply has been marked as private.February 16, 2017 at 10:28 am #1373735
RupokMemberHi there,
Thanks for writing in! Usually this kind of customization is out of our support scope but as you have gone so far, it’s easy to assist you on this with your existing CSS. Let’s add this CSS as well:
.x-navbar .x-btn-navbar { opacity: 0; } .x-navbar.x-navbar-scrolled .x-btn-navbar { opacity: 1; }Hope this helps.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1373511 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
