Tagged: x
-
AuthorPosts
-
June 20, 2016 at 3:24 pm #1051356
lucascolepetersParticipantHey all, I am trying to get a top menu bar on my page to look like the one here
Any CSS that would help with that?
June 20, 2016 at 8:08 pm #1051722
JadeModeratorHi Lucas,
Yes we can achieve this through CSS but kindly provide your site URL so that we could give you the custom code tailored to your need.
Thank you.
June 20, 2016 at 8:08 pm #1051723
JadeModeratorHi Lucas,
Yes we can achieve this through CSS but kindly provide your site URL so that we could give you the custom code tailored to your need.
Thank you.
June 21, 2016 at 8:28 am #1052507
lucascolepetersParticipantThis reply has been marked as private.June 21, 2016 at 10:48 am #1052717
JoaoModeratorHi Lucas,
Change the code you have on Appereance Customizer Custom Jasvascript, for this one:
jQuery(document).ready(function($){ $('.x-navbar-fixed-top, .x-navbar').css("background-color", "transparent"); var rev_height = $(".x-slider-container").height(); $(window).scroll(function(){ if ($(this).scrollTop() > 300) { $('.x-navbar, .x-navbar-fixed-top').attr('style','background-color: rgba(0,0,0,0.6) !important'); } else { $('.x-navbar, .x-navbar-fixed-top').attr('style','background-color: transparent !important'); } }); });You can change the value 300 to make the navbar change color later or sooner and you can change the value 0.6 (60% solid) to 0.8 to make it stronger or to a smaller value to make it more transparent.
Hope it helps,
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1051356 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
