Tagged: x
-
AuthorPosts
-
December 7, 2016 at 5:07 am #1284378
ChristopherModeratorHi there,
Please adjust the height in following CSS block :
.x-navbar .desktop .x-nav > li > a { height: 100px; padding-top: 37px; }Hope it helps.
December 7, 2016 at 5:27 am #1284401
Andreas BjerveParticipantSorry, Sir, you´ll have to stupify that for me… I can´t seem to find that block (and when I thought I did, nothing changed). Grateful for your assistance!
December 7, 2016 at 5:52 am #1284434
ChristopherModeratorHi there,
Sorry for confusion. Please change ‘Navbar Top Height’ value to smaller number. You may need to update following code as well :
.x-navbar.x-navbar-fixed-top .desktop .x-nav > li > a { height: 60px; padding-top: 25px; }Hope it helps.
December 7, 2016 at 6:08 am #1284449
Andreas BjerveParticipantNice! Thanks a lot!!
One last little detail: can we vertically align/center that logo in the navbar after resize? So that it´s closer to the bottom line?
December 7, 2016 at 6:53 am #1284506
Paul RModeratorHi,
You can add this under Custom > Edit Global CSS in the Customizer.
.x-navbar.x-navbar-fixed-top .x-brand.img { margin-top: 8px; } .x-navbar.x-navbar-fixed-top .x-nav-wrap .x-nav > li > a { padding-top:28px; }You may change 8px and 28px to adjust alignment.
December 7, 2016 at 11:46 am #1284864
Andreas BjerveParticipantPerfect! Thank you guys for excellent guidance:D
December 7, 2016 at 12:15 pm #1284902
JoaoModeratorGlad to hear we managed to help 🙂
December 8, 2016 at 2:02 pm #1286490
Andreas BjerveParticipantHi there!
A tiny, little detail here. When the Navbar on my page shrinks upon scrolling down, the links “bounce” or move a little upwards before settling. Not sure why… They might as well stay stationary as the navbar shrinks.
Could you check this out?
Thanks!
December 8, 2016 at 2:02 pm #1286492
Andreas BjerveParticipantThis reply has been marked as private.December 8, 2016 at 2:21 pm #1286511
JadeModeratorHi Andreas,
If you want the menu items to remain in place when you scroll down, please find this code:
.x-navbar.x-navbar-fixed-top .x-nav-wrap .x-nav > li > a { padding-top: 28px; }and update it to:
.x-navbar.x-navbar-fixed-top .x-nav-wrap .x-nav > li > a { padding-top: 38px; }Hope this helps.
December 8, 2016 at 3:04 pm #1286543
Andreas BjerveParticipantIt did. Thanks a lot! 🙂
December 8, 2016 at 5:07 pm #1286669
JadeModeratorYou’re most welcome, Andreas.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1282431 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
