Tagged: x
-
AuthorPosts
-
August 26, 2016 at 12:28 am #1147794
WanikiiyaParticipantHi guys,
I’ve enabled one page navigation, created custom IDs and it works well.
The thing is that I want it to be “fixed top”, but navbar has switched to “fixed left” by itself.
I’ve tried to change settings, but nothing works, it’s stuck on the left side and it looks super ugly.
Can you please have a look into this, I’ve completed my website and this is the last thing before going live.
Thanks.I’ll send my login details in the next post.
August 26, 2016 at 12:30 am #1147796
WanikiiyaParticipantThis reply has been marked as private.August 26, 2016 at 12:54 am #1147815
Rue NelModeratorHello There,
Thanks for writing in! I have checked your site and it turns out that you have added a custom function that sets the navbar to always as fixed left. Please remove this custom code in your child theme’s functions.php file
if ( ! function_exists( 'x_get_navbar_positioning' ) ) : function x_get_navbar_positioning() { if ( x_is_one_page_navigation() ) { $output = 'fixed-left'; } else { $output = x_get_option( 'x_navbar_positioning' ); } return $output; } add_action( 'customize_save', 'x_get_navbar_positioning' ); endif;After removing this code, you should have whatever is set in your customizer, Appearance > Customize > Header > Navbar Position.
Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1147794 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
