Tagged: x
-
AuthorPosts
-
August 22, 2016 at 12:20 pm #1141781
NueraParticipantHello again…
I got this working perfectly on modernclimatecontrol.com, but now I’m trying to implement the same changes at http://fenetex.nueramarketing.com, but running into issues. Here is what I have so far:
CSS:
/* above masthead nav settings */ @media (max-width: 979px) { .home .x-navbar { bottom: 0; position: absolute; width: 100%; } .home .x-navbar.x-navbar-fixed-top{ position: fixed; top: 0; bottom: auto; } }JQ:
jQuery( function($) { $(window).on("scroll", function () { if($(window).scrollTop() == 0) { $('.home .desktop .sub-menu').css('top','auto'); $('.home .desktop .sub-menu').css('bottom','90px'); } else { $('.home .desktop .sub-menu').css('top','90px'); $('.home .desktop .sub-menu').css('bottom','auto'); } }).scroll(); });Here are my issues/objectives:
1) The navbar isn’t fixing to the bottom of the browser window.
2) I’d really like the navbar to be transparent over the slider.
I’ll create a secondary post with my login info. Thanks!
August 22, 2016 at 12:23 pm #1141784
NueraParticipantThis reply has been marked as private.August 22, 2016 at 2:23 pm #1141963
JoaoModeratorHi There,
Please add the following code to your media query:
.home header { margin-top: -127px; }Hope it helps
Joao
August 22, 2016 at 2:58 pm #1142023
NueraParticipantI think that’ll work, thanks!!
August 22, 2016 at 11:30 pm #1142581
FriechModeratorWe’re delighted to assist you with this.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-890302 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
