Tagged: x
-
AuthorPosts
-
February 11, 2017 at 1:28 am #1366813
buildingblochsParticipantHi there, when I scroll, the header has a white background. I would like it be permanently transparent.
kaomi.co.za
Thanks
February 11, 2017 at 1:29 am #1366814
buildingblochsParticipantAlso when it initally loads the background is black for a moment, how do I remove this?
February 11, 2017 at 1:36 am #1366822
Rue NelModeratorHello There,
Thanks for writing in! To resolve your issue, please go to the customizer’s custom JS, Appearance > Customize > Custom > Edit Global JS. You need to find and remove this code:
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() > rev_height) { $('.x-navbar, .x-navbar-fixed-top').attr('style','background-color: #fff !important'); } else { $('.x-navbar, .x-navbar-fixed-top').attr('style','background-color: transparent !important'); } }); });Hope this helps. Please let us know how it goes.
February 11, 2017 at 2:19 am #1366841
buildingblochsParticipantThis reply has been marked as private.February 11, 2017 at 2:23 am #1366845
Rue NelModeratorHello There,
Thanks for updating in! Now that you have remove the JS code, it is getting the background color from the setting in the customizer. To override this setting, please add the following css code in the customizer, Appearance > Customize > Custom > CSS
.home .x-navbar { background-color: transparent !important; }Hope this helps. Kindly let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1366813 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
