Tagged: x
-
AuthorPosts
-
May 31, 2016 at 6:43 am #1017946
LutslanaParticipantDear X-Team,
after adding the following code from that thread (https://community.theme.co/forums/topic/how-to-add-some-text-to-the-header/) my site went down. Please help me to solve that problem. Thank you!
<?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-fluid 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-fluid max width"> <?php x_get_view( 'global', '_nav', '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-fluid max width"> <?php x_get_view( 'global', '_brand' ); ?> <div class="lb-text">YOUR TEXT GOES HERE</div> <?php x_get_view( 'global', '_nav', 'primary' ); ?> </div> </div> </div> </div> <?php endif; ?>May 31, 2016 at 6:44 am #1017948
LutslanaParticipantThis reply has been marked as private.May 31, 2016 at 7:11 am #1017985
ChristopherModeratorHi there,
Your site is under construction mode, so I can’t check it.
Please update your code to :
<?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' ); ?> </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' ); ?> <div class="lb-text">YOUR TEXT GOES HERE</div> <?php x_get_view( 'global', '_nav', 'primary' ); ?> </div> </div> </div> </div> <?php endif; ?>If you need further assist, provide us with login and FTP credentials.
Thanks.
May 31, 2016 at 2:24 pm #1018687
LutslanaParticipantHi Christopher,
the problem is already solved.
Thank you!
May 31, 2016 at 2:53 pm #1018731
JoaoModeratorGreat to hear it.
Let us know if you need help with any other issue.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1017946 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
