Tagged: x
-
AuthorPosts
-
November 18, 2016 at 8:30 am #1262546
[email protected]ParticipantHi
On my inner pages, there is a gap on the fixed top. http://tatyanakozh.staging.wpengine.com/shirts/You can see it as you scroll down.
November 18, 2016 at 8:38 am #1262557
[email protected]ParticipantThe top is also covering buttons on the first load of the page. Here is a good example
http://tatyanakozh.staging.wpengine.com/customise-polo-shirts/
November 18, 2016 at 11:16 am #1262720
Nabeel AModeratorHi there,
Thanks for writing in! Please add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
.x-navbar.x-navbar-fixed-top { top: 0 !important; }Then add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript
function navigation_fix() { jQuery('header.masthead.masthead-inline').css('height', jQuery('.x-topbar').height() + jQuery('.x-navbar').height()); } jQuery(document).ready(function(){ navigation_fix(); }); jQuery(window).resize(function(){ navigation_fix(); });Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!
November 18, 2016 at 12:19 pm #1262791
[email protected]Participantperfect, thanks!
November 18, 2016 at 3:52 pm #1262986
Nabeel AModeratorGlad we could help 🙂
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1262546 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
