Tagged: x
-
AuthorPosts
-
June 3, 2016 at 3:44 pm #1024742
NickParticipantHi i want a new effect menu effect like
http://jituchauhan.com/wealth-demo/mortgage/index.html
1 -> menu is transparent
2 -> when user scroll down, the menu-top / nav-top background-color is changed to blackis this possible in Renew theme ?
June 3, 2016 at 11:36 pm #1025243
Prasant RaiModeratorHello There,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
Thanks.
June 4, 2016 at 11:03 am #1025730
NickParticipantThis reply has been marked as private.June 4, 2016 at 11:04 am #1025731
NickParticipantThis reply has been marked as private.June 5, 2016 at 1:41 am #1026313
Rue NelModeratorHello There,
Thanks for providing the information. Yes it is possible to make the navbar transparent and add a background color as soon as you scroll it. Simply add the following css code in the customizer, Appearance > Customize > Custom > CSS
@media(min-width: 980px){ body.home.x-navbar-fixed-top-active .x-navbar-wrap { height: 0; } .home .x-navbar-inner { border: none; } .home .x-navbar { background-color: transparent !important; transition: all 0.35s linear; } .home .x-navbar.x-navbar-fixed-top { background-color: #000 !important; } }And then you also need to add the following JS code in the customizer, Appearance > Customize > Custom > Javascript
jQuery(function($){ $(window).scroll(function(){ if( $(this).scrollTop() < 150 ) { $('.x-navbar-fixed-top').removeClass('x-navbar-fixed-top'); } }) });Please let us know if this works out for you.
June 7, 2016 at 4:49 pm #1030732
NickParticipantthis is great work!
June 8, 2016 at 3:36 am #1031465
ChristianModeratorGlad we could help. 🙂
June 11, 2016 at 10:40 am #1037397
NickParticipantas almost, always !
June 11, 2016 at 7:23 pm #1037693
Rue NelModeratorIf there’s anything else, we can help you with, please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1024742 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
