Tagged: x
-
AuthorPosts
-
October 28, 2016 at 10:08 am #1234851
JoaoModeratorHi There,
Unfortunely Not
Still the same error.
Would you mind pasting your whole CSS code you have in Appereance > Customizer > Custom > CSS so we can review?
Thanks
Joao
October 28, 2016 at 10:25 am #1234869
MarcoParticipantSee screenshots. May be we should use some javascript?
October 28, 2016 at 10:26 am #1234873
MarcoParticipantThis reply has been marked as private.October 28, 2016 at 8:54 pm #1235500
Rue NelModeratorHello There,
This block applies to the whole navbar:
.x-btn-navbar.collapsed:hover, .x-btn-navbar:hover, .x-btn-navbar.collapsed, .x-btn-navbar { color: #fff; text-shadow: none; }And this block only affects the fixed navbar;
.x-navbar-fixed-top .x-btn-navbar.collapsed:hover, .x-navbar-fixed-top .x-btn-navbar:hover, .x-navbar-fixed-top .x-btn-navbar.collapsed, .x-navbar-fixed-top .x-btn-navbar { color: gray; text-shadow: none; }Feel free to change the color that may apply to your site colors.
Hope this helps.
October 30, 2016 at 9:53 am #1236662
MarcoParticipantIt took 5 support-pages but we have a winner!
Thx Rue Nel for your solution and thx X-theme for the support!Greets Marco!
October 30, 2016 at 4:37 pm #1236969
RadModeratorGlad to hear that! Cheers!
December 1, 2016 at 4:14 am #1277226
MarcoParticipantHi, One more question.
I want to delay the fixed-header on scroll. See for example this site: https://www.airbnb.nl
Is that possible?Thx! Grtz Marco
December 1, 2016 at 6:24 am #1277314
Paul RModeratorHi,
To achieve that you need to set your navbar layout to static top.
http://screencast.com/t/ee0likLzT
Then add this in Custom > Edit Global Javascript in the customizer.
jQuery(function($) { $(window).scroll(function() { if ( $(this).scrollTop() >= 200 ) { $('.x-navbar').addClass('x-navbar-fixed-top'); } else { $('.x-navbar').removeClass('x-navbar-fixed-top'); } }); });You may change 200 to adjust how far down to scroll until your navbar is fixed.
Hope that helps.
December 1, 2016 at 8:00 am #1277398
MarcoParticipantThx for the code!
December 1, 2016 at 8:15 am #1277410
JoaoModeratorYou are welcome 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1183026 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
