Tagged: x
-
AuthorPosts
-
October 4, 2016 at 6:09 am #1201780
mariacolladoParticipantHi, I’ve been searching trough the forum but I couldn’t find an answer for this.
I want to add a second menu to the navbar so I will have one in the left and other in the right side.Could you please let me know how can achieve that? I know that I will have to add it in _navbar.php and add code in functions also. Which code should I add to have the two menus in the navbar?
Thanks in advanced!October 4, 2016 at 6:13 am #1201790
mariacolladoParticipantThis is the code I have right now:
<?php // ============================================================================= // VIEWS/GLOBAL/_NAVBAR.PHP // ----------------------------------------------------------------------------- // Outputs the navbar. // ============================================================================= $navbar_position = x_get_navbar_positioning(); $logo_nav_layout = x_get_logo_navigation_layout(); $is_one_page_nav = x_is_one_page_navigation(); ?> <?php if ( ( $navbar_position == 'static-top' || $navbar_position == 'fixed-top' || $is_one_page_nav ) && $logo_nav_layout == 'stacked' ) : ?> <div class="x-logobar"> <div class="x-logobar-inner"> <div class="x-container max width"> <?php x_get_view( 'global', '_brand' ); ?> </div> </div> </div> <div class="x-navbar-wrap"> <div class="<?php x_navbar_class(); ?>"> <div class="x-navbar-inner"> <div class="x-container max width"> <?php x_get_view( 'global', '_nav', 'primary' ); ?> <?php x_get_view( 'global', '_nav', 'next-primary' ); ?> </div> </div> </div> </div> <?php else : ?> <div class="x-navbar-wrap"> <div class="<?php x_navbar_class(); ?>"> <div class="x-navbar-inner"> <div class="x-container max width"> <?php x_get_view( 'global', '_brand' ); ?> <?php x_get_view( 'global', '_nav', 'primary' ); ?> <?php x_get_view( 'global', '_nav', 'next-primary' ); ?> </div> </div> </div> </div> <?php endif; ?>October 4, 2016 at 6:52 am #1201823
ChristianModeratorHey there,
Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.
Thank you for your understanding.
October 4, 2016 at 6:57 am #1201834
mariacolladoParticipantHi Cristian ,
Thank you for your answer, as I’ve seen that here: https://community.theme.co/forums/topic/second-row-of-menu/ you guys are giving an answer but is from 2014 so it doesn’t match with the template now, I thought that you could update the info for the last templates.Thanks
October 4, 2016 at 7:44 am #1201870
ChristianModeratorThe guide will still work as the navbar part didn’t change. You might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1201780 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
